Closed
Bug 622207
Opened 14 years ago
Closed 14 years ago
amo-validator: filenames in nested jar show up as numbers
Categories
(addons.mozilla.org Graveyard :: Developer Pages, defect, P3)
addons.mozilla.org Graveyard
Developer Pages
Tracking
(Not tracked)
VERIFIED
FIXED
5.12.7
People
(Reporter: kumar, Assigned: basta)
Details
Attachments
(1 file)
363.77 KB,
application/x-xpinstall
|
Details |
STR - upload/validate the attached delicious addon Notice the 2nd error in the Localization Tests having the header "Global called in dangerous manner" The affected file is reported as: chrome/deliciousbookmarks.jar/0 but I'd expect: chrome/deliciousbookmarks.jar/options.js In the validator JSON this looks like: { ... "file": ["chrome/deliciousbookmarks.jar", "0"] }
Reporter | ||
Updated•14 years ago
|
Assignee: nobody → mbasta
Reporter | ||
Comment 1•14 years ago
|
||
note also that the reported line number of the error in options.js is incorrect (probably related)
Updated•14 years ago
|
Target Milestone: --- → 5.12.7
Updated•14 years ago
|
Priority: -- → P3
Assignee | ||
Comment 2•14 years ago
|
||
Fixed: https://github.com/mattbasta/amo-validator/commit/48a4e6a901f6a70ccfa34e746ba32a626ea9ffb7 For the line numbers, everything looks fine on my end. Perhaps the fix also fixed the line numbers? Keep in mind that the line number is 1-based, not 0-based. Column (position) numbers should be 0-based. Also, the line number returned in the JSON represents the line of the middle line of the context.
Assignee | ||
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 3•14 years ago
|
||
STR is no longer showing the "0" as part of the filename. Thanks!
Status: RESOLVED → VERIFIED
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
•