Closed
Bug 873875
Opened 12 years ago
Closed 12 years ago
"Write a Review" button broken on Reviews Listing page
Categories
(Marketplace Graveyard :: Consumer Pages, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
2013-05-23
People
(Reporter: cvan, Assigned: basta)
References
()
Details
(Whiteboard: [fireplace])
1. As an authenticated user, go to https://marketplace-dev.allizom.org/app/pulse/ratings
2. Click the "Write a Review" button.
3. Notice the console error:
Uncaught Template render error: (ratings/write.html) [Line 2, Column 10]
Error: Unable to call `_`, which is undefined or falsey include.js:6
Comment 2•12 years ago
|
||
My initial thought was that minification might something to do with this. I tried to repro this locally and I can't seem to even when running with local fireplace via zamboni.
As an aside for me if I don't comment out inapp_payments.js include.js doesn't load (due to $ being undefined), though I'm not sure if that's an unrelated settings issue? In any case with that out of the way this works normally and it works fine in fireplace directly too.
| Assignee | ||
Comment 3•12 years ago
|
||
Where are we even using inapp_payments.js? I feel like we don't need it and it should be removed from the bundle.
The original issue here might have accidentally gotten fixed when I fixed some race conditions this weekend. -dev might not have updated because -dev.
Comment 4•12 years ago
|
||
(In reply to Matt Basta [:basta] from comment #3)
> Where are we even using inapp_payments.js? I feel like we don't need it and
> it should be removed from the bundle.
>
Good question I can't see any references to it in fireplace.
> The original issue here might have accidentally gotten fixed when I fixed
> some race conditions this weekend. -dev might not have updated because -dev.
| Assignee | ||
Comment 5•12 years ago
|
||
It was caused by Underscore not being imported on the views/app/ratings page.
https://github.com/mozilla/fireplace/commit/88a2c7f771be0ee733525e56318038406920d0b7
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Assignee: nobody → mattbasta
You need to log in
before you can comment on or make changes to this bug.
Description
•