send-bug-notifications OOPSes: IndexError: list index out of range
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Simone Pelosi |
Bug Description
Since https:/
2023-06-14 00:01:20 ERROR Error while building email notifications.
Traceback (most recent call last):
File "/srv/launchpad
yield construct_
File "/srv/launchpad
reason = data["sources"
IndexError: list index out of range
2023-06-14 00:01:20 INFO OOPS-2840cc064513a0d4c93d870df417cfa7
I'm guessing that perhaps this happens when a user has every subscription via which they might receive a given bug muted, or something like that.
Related branches
- Ines Almeida: Approve
-
Diff: 104 lines (+66/-5)2 files modifiedlib/lp/bugs/model/bugnotification.py (+10/-5)
lib/lp/bugs/scripts/tests/test_bugnotification.py (+56/-0)
Changed in launchpad: | |
assignee: | nobody → Simone Pelosi (pelpsi) |
Changed in launchpad: | |
importance: | Undecided → High |
status: | New → In Progress |
Changed in launchpad: | |
status: | In Progress → Fix Committed |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |