Closed
Bug 491095
Opened 15 years ago
Closed 15 years ago
Consider adding a character limit to collection names
Categories
(addons.mozilla.org Graveyard :: Collections, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
5.0.6
People
(Reporter: krupa.mozbugs, Assigned: jbalogh)
References
Details
Attachments
(2 files, 1 obsolete file)
91.52 KB,
image/png
|
Details | |
3.25 KB,
patch
|
clouserw
:
review+
|
Details | Diff | Splinter Review |
Collection names have no character limit.Please,consider adding one. See screenshot for reason.
Comment 2•15 years ago
|
||
50 characters, per https://bug456132.bugzilla.mozilla.org/attachment.cgi?id=373208 and the spec.
Assignee | ||
Comment 3•15 years ago
|
||
This is incomplete, but I wanted to hear what you think before I go too far down this road. I'd like to move the invalidFields function to app_model, so all models can do the clean_$field trick. There's still too much separation between validation and error messages; the validator function is the best place to set error messages. Putting all this in models is wrong, but it's the easiest place to start since all the other validation is attached to models.
Attachment #376081 -
Flags: review?(clouserw)
Assignee | ||
Comment 4•15 years ago
|
||
Attachment #376081 -
Attachment is obsolete: true
Attachment #376093 -
Flags: review?(clouserw)
Attachment #376081 -
Flags: review?(clouserw)
Comment 5•15 years ago
|
||
Comment on attachment 376093 [details] [diff] [review] moving the error messages to the validator function Works for me if you add ___()
Attachment #376093 -
Flags: review?(clouserw) → review+
Comment 7•15 years ago
|
||
Jeff: I think your validation method is good, but you should put it into app_model.php. We already have a (much more complicated, inported from the cake guys) validation method in there and we should not duplicate that code.
Reporter | ||
Comment 8•15 years ago
|
||
Filed related bug Bug 492461 Marking this bug as verified.
Status: RESOLVED → VERIFIED
Comment 9•15 years ago
|
||
removing "push-needed" from 105 AMO 5.0.6 bugs; filter on "I hate stephend!"
Keywords: push-needed
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
•