GhostWidget content appears in pages

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

Bug Description

The GhostWidget is intended to suppress the the field from being rendered in the page. You can see the license_info hint text in the +new project page. While the <input< was not rendered, pther part are. The probelm is that the widget attribute can and are set after the widget is created. So while the hint is an empty string in the class definition, it is not at the time of rendering. The page contains table rows with empty blocks elements that render as extra white space in the page.

    * The correct fix is to use the invisible attribute to indicate it should not be seen
    * And update the launchpad-form-macros to not render any markup if widget.hidden() is None.

Related branches

Curtis Hovey (sinzui)
tags: added: qa-ok
Changed in launchpad-foundations:
status: In Progress → Fix Committed
Revision history for this message
Ursula Junque (ursinha) wrote : Bug fixed by a commit
tags: added: qa-needstesting
removed: qa-ok
tags: added: qa-ok
removed: qa-needstesting
Curtis Hovey (sinzui)
Changed in launchpad-foundations:
status: Fix Committed → Fix Released
Curtis Hovey (sinzui)
Changed in launchpad:
assignee: Curtis Hovey (sinzui) → nobody
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.