Closed
Bug 566110
Opened 14 years ago
Closed 14 years ago
[k] Form validation and error messages for forums forms
Categories
(support.mozilla.org :: Forum, task, P1)
support.mozilla.org
Forum
Tracking
(Not tracked)
VERIFIED
FIXED
2.1
People
(Reporter: stephend, Assigned: paulc)
References
()
Details
Attachments
(1 file)
537.46 KB,
image/png
|
Details |
Like a good (read: masochistic) tester, I pasted the US Constitution (HTML, though, [1]) into the "Title" field on http://support-stage-new.mozilla.com/en-US/forums/test-forum/new, and got: "YOU SCREWED UP" (thanks! :) [1] http://www.earlyamerica.com/earlyamerica/freedom/constitution/text.html
Reporter | ||
Comment 1•14 years ago
|
||
So that's just one case; you can do "space, space" ".,.", etc. with those fields, and it'll return that error. We should be more specific about the minimum-post requirements, and highlight fields, etc. (might be a dupe, or already mentioned somewhere).
Comment 2•14 years ago
|
||
(In reply to comment #1) > So that's just one case; you can do "space, space" ".,.", etc. with those > fields, and it'll return that error. We should be more specific about the > minimum-post requirements, and highlight fields, etc. (might be a dupe, or > already mentioned somewhere). When you're doing this, are you putting content in the main text area?
Reporter | ||
Comment 3•14 years ago
|
||
(In reply to comment #2) > (In reply to comment #1) > > So that's just one case; you can do "space, space" ".,.", etc. with those > > fields, and it'll return that error. We should be more specific about the > > minimum-post requirements, and highlight fields, etc. (might be a dupe, or > > already mentioned somewhere). > > When you're doing this, are you putting content in the main text area? Yes, just a single space "space, space" == space in the title, space in the body; guessing "YOU SCREWED UP" is just placeholder text for error handling?
Assignee | ||
Updated•14 years ago
|
Assignee: nobody → paulc
Updated•14 years ago
|
Priority: -- → P1
Assignee | ||
Comment 4•14 years ago
|
||
(In reply to comment #3) > > Yes, just a single space "space, space" == space in the title, space in the > body; guessing "YOU SCREWED UP" is just placeholder text for error handling? Yep. Now you shouldn't be getting "YOU SCREWED UP" anymore, but instead a form with error messages. http://github.com/jsocol/kitsune/commit/c8e175c270dd0505fb1a60e3ef46c8c58afe93a3
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Summary: [k] Sanitize/implement error-checking for "Title" field in Forums → [k] Form validation and error messages for forums forms
Reporter | ||
Comment 5•14 years ago
|
||
Reporter | ||
Comment 6•14 years ago
|
||
Verified FIXED. Chowse could maybe weigh in on a non-nerdy error message (for which I'd file a spinoff bug).
Status: RESOLVED → VERIFIED
Comment 7•14 years ago
|
||
(In reply to comment #6) > Verified FIXED. Chowse could maybe weigh in on a non-nerdy error message (for > which I'd file a spinoff bug). How about: "Please keep the length of your message to 10,000 characters or less. It is currently 29,671 characters." (If you can add the thousands separator, even better.)
Reporter | ||
Comment 8•14 years ago
|
||
Thx, chowse: spun off bug 568411.
You need to log in
before you can comment on or make changes to this bug.
Description
•