Changing default bug visibility of a project to private triggers database constraint

Bug #266890 reported by Ursula Junque
10
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Low
Brad Crittenden

Bug Description

When trying to set the default bug visibility of a project to private (in project/+review-license), launchpad crashes as seen on OOPS-978ED77.

This affects only lp admins.

Steps to reproduce (with sample data):
1) Enter http://launchpad.dev/derby/+review-license
2) Check the "Private bugs" checkbox
3) Click on "Change"
4) Oopses with the error: IntegrityError: new row for relation "product" violates check constraint "private_bugs_need_contact"

This bug may be related to bug 125803.

Recently: OOPS-1011EB191

Related branches

Changed in launchpad-foundations:
importance: Undecided → Low
status: New → Triaged
Ursula Junque (ursinha)
description: updated
Revision history for this message
Brad Crittenden (bac) wrote :

Actually I don't think think this bug affects LP admins but only affects LP commercial admins, who have fewer privileges. The LP admins see a warning and an option to set the bug supervisor while an LP commercial admin does not see those options and is allowed to submit the change resulting in the db constraint and OOPS.

Curtis Hovey (sinzui)
affects: launchpad-foundations → launchpad-registry
Curtis Hovey (sinzui)
Changed in launchpad-registry:
milestone: none → 3.1.11
Brad Crittenden (bac)
Changed in launchpad-registry:
assignee: nobody → Brad Crittenden (bac)
Curtis Hovey (sinzui)
Changed in launchpad-registry:
status: Triaged → In Progress
Revision history for this message
Brad Crittenden (bac) wrote :

r 9934

Changed in launchpad-registry:
status: In Progress → Fix Committed
Brad Crittenden (bac)
Changed in launchpad-registry:
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

Remote bug watches

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