Closed Bug 493306 Opened 15 years ago Closed 15 years ago

Collections add page: Preserve form choices on error

Categories

(addons.mozilla.org Graveyard :: Collections, defect, P3)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: wenzel, Assigned: wenzel)

References

Details

Attachments

(1 file)

If, for example, you do not enter a collection name on the "create collection" page, it will return an error, however, add-ons selected before will not persist.

They should.
Same for exceeding description limit of 200 characters.  After error message, all add-ons previously selected disappear.
(From bug 504380 comment #0)
> I am trying to create a new collection and the page is difficult to deal. It
> says: " The description should be less than 200 characters. " But there is not
> JavaScript that can count to let me know. In addition, for every cycle it says
> that there is an error, it clears my settings: 
> 
> * [ ] Only people I invite can view my collection  // it unchecks thebox
> * It also clears the Addon Collection Name
Severity: enhancement → normal
Summary: Collections add page: Preserve add-on choices on error → Collections add page: Preserve form choices on error
Priority: -- → P3
Target Milestone: --- → 5.0.9
Assignee: nobody → fwenzel
Attached patch Patch, rev. 1Splinter Review
Preserve form choices on error. This preserves (only) the checked add-ons on error, as well as the other form fields.
Attachment #393579 - Flags: review?(clouserw)
Status: NEW → ASSIGNED
Attachment #393579 - Flags: review?(clouserw) → review+
Comment on attachment 393579 [details] [diff] [review]
Patch, rev. 1

success!
yay! r48917.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Keywords: push-needed
Resolution: --- → FIXED
Verified FIXED on https://preview.addons.mozilla.org/en-US/firefox/collections/add:

* with name, no desc: "You must provide a description of your collection."
* with description, no name: "You must give your collection a name."
* with both :-)
Status: RESOLVED → VERIFIED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: