Attempting to file a bug on an Ubuntu source packages OOPSes when bug filing is disabled

Bug #435628 reported by William Grant
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Deryck Hodge

Bug Description

Attempting to file a bug on an Ubuntu SourcePackage or DistributionSourcePackage on edge will OOPS like OOPS-1363EC176 (ForbiddenAttribute: ('bug_supervisor', <lp.registry.model.distributionsourcepackage.DistributionSourcePackage object at 0xbe86dd0>)).

The problem is obvious -- FileBugViewBase.no_ubuntu_redirect assumes that the context will always have a bug_supervisor, which is only the case for the distribution itself.

To work around, add '?no-redirect' to the end of the URL.

Oddly this does not affect production. Is malone.ubuntu_disable_filebug not enabled there?

Tags: lp-bugs oops

Related branches

William Grant (wgrant)
tags: added: oops
Deryck Hodge (deryck)
Changed in malone:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Tom Berger (intellectronica)
milestone: none → 3.1.10
Deryck Hodge (deryck)
Changed in malone:
assignee: Tom Berger (intellectronica) → Deryck Hodge (deryck)
status: Triaged → In Progress
Revision history for this message
Diogo Matsubara (matsubara) wrote : Bug fixed by a commit
Changed in malone:
status: In Progress → Fix Committed
Deryck Hodge (deryck)
Changed in malone:
status: Fix Committed → 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.