E-mail interface may create bugs having no bug tasks

Bug #403182 reported by Björn Tillenius
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Gavin Panella

Bug Description

As seen in OOPS-1298A350, we have some bugs in the database having no bug tasks.

< BjornT> kiko: all the descriptions have e-mail commands, so i think.
          it's quite safe to assume it's the e-mail interface that is to.
          blame
< BjornT> kiko: i don't think it's something that we need to fix for the.
          rollout; looks like it's been like this for a long time. i.
          think i know what's wrong, so we could see if we can fix it.
          next cycle, shouldn't be too hard.
< kiko> BjornT, cool, but we will need something to fix the data up. what.
        do you think is broken?
< BjornT> kiko: that's easy: DELETE FROM Bug WHERE Bug.id IN.
          (<query-above>);
< BjornT> kiko: the problem is how we do error handling in the e-mail.
          interface. quite a while ago it got changed to not require all.
          commands to succeed, but instead let some succeed, and then.
          send error notifications for the failing ones
< kiko> BjornT, ah, so in this case it is failing in a critical part of.
        the process
< BjornT> kiko: when doing that, some commits are made to ensure that we.
          can roll back on failures, but it looks like we're doing a.
          commit when we shouldn't (right after creating an empty bug)
< BjornT> kiko: yes, nothing is linked to the bug. it fails before the.
          bug task is created.

Tags: email lp-bugs

Related branches

Gavin Panella (allenap)
Changed in malone:
assignee: nobody → Gavin Panella (allenap)
importance: Undecided → High
Gavin Panella (allenap)
Changed in malone:
status: Triaged → Fix Released
milestone: 2.2.8 → 2.2.7
status: Fix Released → Triaged
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.