The project/pillar chooser is missing of application root pages

Bug #787856 reported by Curtis Hovey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
Curtis Hovey

Bug Description

While reviewing Bug 376671, bug 442423, and bug 541979 I discovered that the choose link is not rendered next to the project/pillar field on bugs an answers front pages.

This affects bugs, blueprints, and answers.

Related branches

Curtis Hovey (sinzui)
description: updated
description: updated
Curtis Hovey (sinzui)
Changed in launchpad:
assignee: nobody → Curtis Hovey (sinzui)
status: Triaged → In Progress
Revision history for this message
Curtis Hovey (sinzui) wrote :

I am not certain of what changed or when, but I know what is wrong. The ProjectScopeWidget is being setup correctly, but the templates do not ever use __call__() to render the widget and the supporting js. Neither the widget or the three broken templates have changed in years. I conclude the the supporting js that was assumed to be loaded was removed. This is a very old widget that predates YUI and maybe MochiKit. Refactoring to remove old scripts, or change how we included scripts into the page broke these three pages.

The fix is trivial now that I understand what is wrong. The templates avoid __call__ because they are contriving a layout. The layout can be achieved be changing the table and using the widget is the standard fashion.

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