OOPS on +bugs-text page

Bug #583385 reported by Diogo Matsubara
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Abel Deuring

Bug Description

As seen on OOPS-1599M2323 an AssertionError: Uknown context type: <security proxied lp.registry.model.person.Person instance at 0x24ad72d0> was raised while GET'ing the +bugs-text page for the ~ubuntu-security team.

To reproduce, just open: https://bugs.launchpad.net/%7Eubuntu-security/+bugs-text in your browser

Related branches

description: updated
Deryck Hodge (deryck)
Changed in malone:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Abel Deuring (adeuring) wrote :

I doubt that the +bugs-text page ever worked form persons/teams. I think we should simply change the "for" attribute in the ZCML definition for these pages to be defined only for IBugTarget, not IHasBugs as it is now.

The text-only pages are meanwhile "superseded" by the webservice API, so it should be enough to return 404 errors for +bugs-text pages in a person context

Abel Deuring (adeuring)
Changed in malone:
assignee: nobody → Abel Deuring (adeuring)
Abel Deuring (adeuring)
Changed in malone:
status: Triaged → Confirmed
status: Confirmed → In Progress
Abel Deuring (adeuring)
Changed in malone:
status: In Progress → Fix Committed
Deryck Hodge (deryck)
Changed in malone:
milestone: none → 10.06
Curtis Hovey (sinzui)
tags: added: qa-ok
Revision history for this message
Ursula Junque (ursinha) wrote : Bug fixed by a commit
tags: added: qa-needstesting
removed: qa-ok
Ursula Junque (ursinha)
tags: added: qa-ok
removed: qa-needstesting
Curtis Hovey (sinzui)
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.