Closed
Bug 1184131
Opened 9 years ago
Closed 9 years ago
Slide show not rendered on about:addons > Get Add-ons
Categories
(addons.mozilla.org Graveyard :: Discovery Pane, defect)
addons.mozilla.org Graveyard
Discovery Pane
Tracking
(Not tracked)
RESOLVED
FIXED
2015-07
People
(Reporter: alice0775, Assigned: magopian)
References
Details
(Keywords: regression)
Attachments
(1 file)
584.74 KB,
image/png
|
Details |
Steps to reproduce: 1. Open aboud:addons and select Get Add-ons pane Actual results: Slide show not display And an error is shown in Web Console: SyntaxError: JSON.parse: expected property name or '}' at line 1 column 2 of the JSON data discovery-min.js:5:16124 Expected Results: Slide show should display
Reporter | ||
Comment 1•9 years ago
|
||
Reporter | ||
Comment 2•9 years ago
|
||
Pushlog: https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=5e97f3b44653&tochange=9a04997eec28 Triggered by: Bug 1093611
Blocks: 1093611
Keywords: regression
Updated•9 years ago
|
Component: General → Discovery Pane
Product: Firefox → addons.mozilla.org
Version: 41 Branch → unspecified
Comment 4•9 years ago
|
||
Problem seems to be that in extensions.js we do setURL(url + "#" + JSON.stringify(list)); After bug 1093611 url.hash no longer automatically unescapes the result, so we have to call unescape(url.hash) to get the same value.
Assignee | ||
Comment 5•9 years ago
|
||
Excellent investigation! It seems the extensions.js file comes from https://github.com/mozilla/nunjucks/blob/master/tests/express-sample/js/extensions.js, which is (I think) a dependency of commonplace. I guess we need to update the requirements to use a more recent version, and hope this has been fixed (or submit a bug on nunjucks?). Do you want to do that? I can help if you want to create a PR for that on AMO ;)
Comment 6•9 years ago
|
||
This bug is going to hit beta in less than two weeks, so we should fix it for next week's push.
Severity: normal → major
Target Milestone: --- → 2015-07
Assignee | ||
Comment 7•9 years ago
|
||
It seems the problem wasn't coming from nunjucks but from discovery_pane.js on olympia. PR: https://github.com/mozilla/olympia/pull/630
Assignee: nobody → mathieu
Comment 8•9 years ago
|
||
Commits pushed to master at https://github.com/mozilla/olympia https://github.com/mozilla/olympia/commit/b5b301bfba1260c1860e992cae5ef5e677ba3554 location.hash isn't unescaped automatically anymore in FF >= 41 (bug 1184131) https://github.com/mozilla/olympia/commit/7581411223af1e14b85771db50e70a11bbb7539a Merge pull request #630 from magopian/1184131-unescape-location.hash location.hash isn't unescaped automatically anymore in FF >= 41 (bug 1184131)
Assignee | ||
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•