db_policy equals None causing OOPS

Bug #271902 reported by Diogo Matsubara
12
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Stuart Bishop

Bug Description

As seen in OOPS-992C476 an exception was raised causing the request to fail

Exception type: AttributeError
Exception value: 'NoneType' object has no attribute 'afterCall'

Revision history for this message
Diogo Matsubara (matsubara) wrote :

Assigned to Francis per today's LP production meeting.

Changed in launchpad-foundations:
assignee: nobody → flacoste
Stuart Bishop (stub)
Changed in launchpad-foundations:
assignee: flacoste → stub
importance: Undecided → High
Changed in launchpad-foundations:
assignee: stub → flacoste
milestone: none → 2.1.10
status: New → Triaged
assignee: flacoste → stub
Stuart Bishop (stub)
Changed in launchpad-foundations:
status: Triaged → In Progress
Revision history for this message
Stuart Bishop (stub) wrote :

BrowserPublication is shared between threads, so we need to store the db policy in a thread local.

This bug causes random requests to OOPS. There are no data corruption or security issues. I'll let others make the call if this is serious enough to cherry pick.

Revision history for this message
Stuart Bishop (stub) wrote :

Fix landed as Rev 7081

Changed in launchpad-foundations:
status: In Progress → Fix Committed
Stuart Bishop (stub)
Changed in launchpad-foundations:
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.