"'display_name' is undefined" JavaScript error on development
Bug #489342 reported by
Māris Fogels
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:/
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
lp://qastaging/~allenap/launchpad/display_name-undefined-bug-489342
- Guilherme Salgado (community): Approve (release-critical)
- Gavin Panella (community): Abstain (js)
- Abel Deuring (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedlib/canonical/launchpad/javascript/bugs/subscriber.js (+1/-1)
description: | updated |
Changed in malone: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 3.1.11 |
Changed in malone: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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.