Closed
Bug 508988
Opened 16 years ago
Closed 16 years ago
Validator: source links don't work if source viewing is not enabled
Categories
(addons.mozilla.org Graveyard :: Developer Pages, defect)
addons.mozilla.org Graveyard
Developer Pages
Tracking
(Not tracked)
VERIFIED
FIXED
5.0.9
People
(Reporter: davemgarrett, Assigned: rjwalsh)
References
()
Details
Attachments
(1 file)
1.24 KB,
patch
|
clouserw
:
review+
|
Details | Diff | Splinter Review |
If the validator spits out a message about a line of source it notes the file and line number and links this to the appropriate file in the source via the online viewer. If the add-on doesn't have this viewer enabled this doesn't work and you just get "This add-on is not viewable here.".
Two possible solutions:
1) Let the developer use this even if it's disabled for the general public.
2) The lazy route: Just don't link there if it's disabled.
Comment 1•16 years ago
|
||
Hmm, good call. We should allow the developer, editors, and admins to view the source regardless of that flag.
Assignee: nobody → rjbuild1088
Target Milestone: --- → 5.0.9
Assignee | ||
Comment 2•16 years ago
|
||
Attachment #393286 -
Flags: review?(clouserw)
Comment 3•16 years ago
|
||
Comment on attachment 393286 [details] [diff] [review]
Allow developers to view their own source, even if the feature is disabled
It would be nice to see the block of code to check of a user is a developer of an add-on as a function.
Also, adding a test for this would help prevent it regressing.
Attachment #393286 -
Flags: review?(clouserw) → review+
Assignee | ||
Comment 4•16 years ago
|
||
Fixed in (unit tests are in views/files/browse.test.php)
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Comment 6•16 years ago
|
||
Verified FIXED on https://preview.addons.mozilla.org/en-US/developers/versions/validate/40468.
Status: RESOLVED → VERIFIED
Updated•9 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
•