Closed Bug 1285635 Opened 10 years ago Closed 10 years ago

Limit 'Revision comment' field to max 255 chars

Categories

(developer.mozilla.org Graveyard :: Editing, defect)

All
Other
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kumar, Unassigned)

References

Details

(Keywords: good-first-bug, in-triage, Whiteboard: [specification][type:bug])

What did you do? ================ 1. Passionately edit a wiki page for a quite a long time (reassured by the 'autosave' feature) 2. Add a lengthy revision note (over 255 characters) explaining all the lovely edits 3. Press the Publish button What happened? ============== I got an error saying the revision comment must be shorter than 255 characters. When I scrolled down to fix it, I noticed that all my edits had been reverted and the revision notes field was blank. What should have happened? ========================== My draft should have been saved! Is there anything else we should know? ====================================== I tried using the back button and clicking the 'restore draft' button but nothing worked.
See Also: → 1278068
See Also: → 1268609
Keywords: in-triage
The underlying issue is tracked by bug 1268609 that Stephanie linked to. We have decided to morph this one in a bug to restrict the amount of chars that can be set in this field (< 255) Stephanie, do you think you can mentor somebody on this bug?
Flags: needinfo?(shobson)
Keywords: good-first-bug
Summary: Error submitting revision comment erases entire draft → Limit 'Revision comment' field to max 255 chars
Commits pushed to master at https://github.com/mozilla/kuma https://github.com/mozilla/kuma/commit/31f18df5c6c4825ba9667199c0d5b13882aa051c Fix Bug 1285635: Limit revision comment. https://github.com/mozilla/kuma/commit/03413881663f67229aa78be330a0016a2614a420 Merge pull request #3907 from mozilla/1285635-revision-comment Fix Bug 1285635: Limit revision comment.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Flags: needinfo?(shobson)
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.