Oops deleting a merge proposal branch with comments

Bug #236135 reported by Diogo Matsubara
14
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Aaron Bentley

Bug Description

Steps to reproduce:
1. Open http://code.launchpad.dev/~name12/landscape/feature-x/+register-merge
2. Propose to merge the branch to landscape trunk
3. Click Register
4. Open the proposal details: http://code.launchpad.dev/~name12/landscape/feature-x/+merge/1
5. Add a comment in http://code.launchpad.dev/~name12/landscape/feature-x/+merge/1/+comment
6. Try to delete the merge proposal: http://code.launchpad.dev/~name12/landscape/feature-x/+merge/1/+delete
7. OOPS-881D1596 IntegrityError: ERROR: update or delete on table "branchmergeproposal" violates foreign key constraint "codereviewmessage_branch_merge_proposal_fkey" on table "codereviewmessage"
DETAIL: Key (id)=(315) is still referenced from table "codereviewmessage".

Changed in launchpad-bazaar:
importance: Undecided → High
Changed in launchpad-bazaar:
assignee: nobody → abentley
milestone: none → 1.2.6
Aaron Bentley (abentley)
Changed in launchpad-bazaar:
status: New → In Progress
Revision history for this message
Diogo Matsubara (matsubara) wrote :

Aaron has this one fixed and reviewed (missing mentor review only). The patch includes a database change, so it'll need to wait until the DB is open to land it.

I've checked the last week's oops summaries and this oops is not frequently triggered, so I think the patch can wait the DB opening.

Aaron Bentley (abentley)
Changed in launchpad-bazaar:
status: In Progress → Fix Committed
Tim Penhey (thumper)
Changed in launchpad-bazaar:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions

Remote bug watches

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