JS failure for anonymous users on bug page

Bug #798622 reported by Данило Шеган
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Данило Шеган

Bug Description

When trying to load the bug page, there is a JS error "No bug specified in `config' or bug.web_link is invalid." when loading the "other subscribers" list. This was introduced in the fix for bug 772754.

The problem is that we are using LP.cache.bug for the bug, but that's not available when users are not logged in. LP.cache.context instead is a bugtask (because the bug page forwards to the bug task page), and the +bug-portlet-subscribers-details is only registered on the bug, so we can't trivially use LP.cache.context.

Related branches

Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
tags: added: qa-ok
removed: qa-needstesting
William Grant (wgrant)
Changed in launchpad:
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.