Page MenuHomePhabricator

Prevent filling text area over character count limit
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Follow the emergency submission process
  • Type in a bunch of text
  • Go over the 1000 character limit

What happens?:

  • I see a counter with a -{number} showing how far over the limit I've gone
  • I can submit the form

What should have happened instead?:

  • I should be prevented from entering text once I reach the limit
  • and/or I should see an error if I attempt to submit the form with too high a limit
  • the API should return an error if the submission goes over the limit

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Event Timeline

mszabo changed the task status from Open to In Progress.Fri, Nov 29, 11:22 AM
mszabo claimed this task.
mszabo triaged this task as Medium priority.
mszabo removed a subscriber: Aklapper.

Change #1099184 had a related patch set uploaded (by Máté Szabó; author: Máté Szabó):

[mediawiki/extensions/ReportIncident@master] dialog: Prevent filling details over the character limit

https://gerrit.wikimedia.org/r/1099184

Change #1099184 merged by jenkins-bot:

[mediawiki/extensions/ReportIncident@master] dialog: Prevent filling details over the character limit

https://gerrit.wikimedia.org/r/1099184

Djackson-ctr subscribed.

QA is completed...
Character limit has been implemented for the Additional Information textfield and Something Else textfield.

image.png (106×618 px, 15 KB)