"'display_name' is undefined" JavaScript error on development

Bug #489342 reported by Māris Fogels
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Gavin Panella

Bug Description

When visiting any bug page on launchpad.dev, in any of the four development branches, the bugs page displays a JavaScript error:

display_name is undefined
https://launchpad.dev/+icing/rev8729/build/bugs/subscriber.js
Line 355

This does not currently happen on edge or stable, which is bothersome. I verified that Jono encountered the same error on his system.

Tested on:

  trunk/: 9952
  stable/: 9949
  db-devel/: 8729
  db-stable/: 8728

Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091109 Ubuntu/9.10 (karmic) Firefox/3.5.5

Related branches

Māris Fogels (mars)
description: updated
Graham Binns (gmb)
Changed in malone:
status: New → Triaged
importance: Undecided → High
milestone: none → 3.1.11
Revision history for this message
Gavin Panella (allenap) wrote :

This seems to be because get_display_name_from_api() gets called even when you're not logged in. I think this needs to be fixed for RC.

Changed in malone:
assignee: nobody → Gavin Panella (allenap)
status: Triaged → In Progress
Revision history for this message
Gavin Panella (allenap) wrote :

Since the subscriber portlet went async, the fall-back to get_display_name_from_api() has been happening a *lot* more. I've filed bug #491297 about it.

Revision history for this message
Diogo Matsubara (matsubara) wrote : Bug fixed by a commit
Changed in malone:
status: In Progress → Fix Committed
Gavin Panella (allenap)
Changed in malone:
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.