Closed
Bug 933943
Opened 12 years ago
Closed 12 years ago
TypeError: n[0] is undefined
Categories
(Marketplace Graveyard :: Statistics, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
2013-11-05
People
(Reporter: krupa.mozbugs, Assigned: spasovski)
References
()
Details
steps to reproduce:
1. Log into a non-admin account on marketplace
2. Load https://marketplace-dev.allizom.org/stats/apps-added-by-payment/?start=2013-10-02&end=2013-11-01®ion=worldwide
expected behavior:
Metrics is accessible by all logged-in users
observed behavior:
'Authentication failure detected. Please sign in and try again.' is shown
GET https://marketplace-dev.allizom.org/api/v1/stats/global/apps_added_by_premium/ [HTTP/1.1 403 FORBIDDEN 61ms]
Looks like TypeError: n[0] is undefined include.js:2
| Reporter | ||
Updated•12 years ago
|
Summary: Non-admins get a 403 on all stats pages → TypeError: n[0] is undefined
| Reporter | ||
Comment 1•12 years ago
|
||
This js error happens on all accounts including admin accounts
| Assignee | ||
Comment 2•12 years ago
|
||
This fixes the JS error: https://github.com/mozilla/marketplace-stats/commit/d028026
Global public stats being visible to all logged in users is coming soon.
Assignee: nobody → dspasovski
Target Milestone: --- → 2013-11-05
Comment 3•12 years ago
|
||
(In reply to Davor Spasovski [:spasovski] from comment #2)
> Global public stats being visible to all logged in users is coming soon.
That's not what was in the spec. Let's save changing permissions for bug 858294. For now it should just be admins only.
| Assignee | ||
Comment 4•12 years ago
|
||
I am fine with that. Thought the global stats would be available to the masses right away.
| Assignee | ||
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 6•12 years ago
|
||
comment 3 is correct. this is a stats viewers group - not anyone with an account. thanks
You need to log in
before you can comment on or make changes to this bug.
Description
•