JavaScript error on team overview pages on edge

Bug #516071 reported by Māris Fogels
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Edwin Grubbs

Bug Description

I am seeing a JavaScript error on the team overview pages, such as https://edge.launchpad.net/~launchpad:

element is null
https://edge.launchpad.net/+icing/rev10242/build/launchpad.js
Line 364

Following the stack trace in Firebug leads to the following function call:

 <script type="text/javascript">
  YUI().use('registry.team', function(Y) {
     Y.on('load',
     function(e) {
        Y.registry.team.setup_add_member_handler();
        },
      window);
  });
</script>

Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.7) Gecko/20100106 Ubuntu/9.10 (karmic) Firefox/3.5.7

Related branches

Māris Fogels (mars)
summary: - JavaScript error on team overview pages
+ JavaScript error on team overview pages on edge
affects: launchpad → launchpad-registry
Changed in launchpad-registry:
assignee: nobody → Edwin Grubbs (edwin-grubbs)
Revision history for this message
Māris Fogels (mars) wrote :

How did this bug get past the Windmill test suite? Breaking the Person Picker widget is rather noticeable.

Curtis Hovey (sinzui)
Changed in launchpad-registry:
status: New → Triaged
importance: Undecided → High
milestone: none → 10.02
Changed in launchpad-registry:
status: Triaged → In Progress
Revision history for this message
Edwin Grubbs (edwin-grubbs) wrote :

The error only occurs when the user doesn't have permission to add a member; therefore, the link doesn't exist that it's trying to add an onclick handler to. This bug doesn't actually affect the functionality of the page at all.

Curtis Hovey (sinzui)
tags: added: qa-ok
Changed in launchpad-registry:
status: In Progress → Fix Committed
Revision history for this message
Curtis Hovey (sinzui) wrote : Bug 516071 Fix released

Fixed released in launchpad-project 10.02.

Changed in launchpad-registry:
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.