Closed
Bug 501159
Opened 15 years ago
Closed 15 years ago
Trailing comma in tag is retained
Categories
(addons.mozilla.org Graveyard :: Public Pages, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
5.0.7
People
(Reporter: krupa.mozbugs, Assigned: yem.huynh)
Details
(Whiteboard: [webmocha])
Attachments
(2 files)
167.05 KB,
image/png
|
Details | |
1.38 KB,
patch
|
Details | Diff | Splinter Review |
steps to reproduce: 1.Log in to your AMO account. 2.Navigate to any add-on page 3.Click on "Add a atg" link 4.Enter "test,blah," as tags and click add expected result: the redundant trailing comma is ignored actual result: Comma is also saved(see attached image)
Updated•15 years ago
|
Assignee: nobody → mikelee
Comment 1•15 years ago
|
||
I had the idea that we should whack this along with trim()ing the tags, but making a special case for commas over other punctuation seems lame. ->wontfix
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
Comment 2•15 years ago
|
||
we're delimiting on commas ->reopen
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Comment 3•15 years ago
|
||
This is already fixed, right?
Comment 4•15 years ago
|
||
(In reply to comment #3) > This is already fixed, right? Looks like this bug has turned into "trailing comma adds a blank tag" - for the record, a tag should never be blank. Just make the split function remove anything that is blank.
ignore empty spaces. so the following: ,aaa, ,bbb, ,,,cccc, will only create tags: aaa bbb ccc
Status: REOPENED → RESOLVED
Closed: 15 years ago → 15 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
•