Page MenuHomePhabricator

Validate input and inform the user about violations
Closed, ResolvedPublic

Description

We have this:
When submitting data, the API will validate before actually storing it, but we're not showing those errors in the UI.

We want this:
When user input is invalid, we should inform them about any errors when submitting them, and allow them to recover from the errors without losing their input.

Acceptance Criteria:

  • Users are informed about errors
  • Users can recover from errors without losing their previous work

Details

Related Gerrit Patches:
mediawiki/extensions/Wikibase : masterAllow 'property' param in wbparsevalue to determine datatype
mediawiki/extensions/WikibaseMediaInfo : masterFix error handling when failing to submit statements

Event Timeline

Restricted Application removed a project: Patch-For-Review. · View Herald TranscriptNov 29 2019, 2:13 PM
matthiasmullie renamed this task from Validate values (and inform the user about violations) before attempting to submit them to Validate input and inform the user about violations.Nov 29 2019, 2:15 PM

Change 553731 had a related patch set uploaded (by Matthias Mullie; owner: Matthias Mullie):
[mediawiki/extensions/Wikibase@master] Allow 'property' param in wbparsevalue to determine datatype

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

Change 553754 had a related patch set uploaded (by Matthias Mullie; owner: Matthias Mullie):
[mediawiki/extensions/WikibaseMediaInfo@master] Fix error handling when failing to submit statements

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

Change 553754 merged by jenkins-bot:
[mediawiki/extensions/WikibaseMediaInfo@master] Fix error handling when failing to submit statements

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

Change 553731 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Allow 'property' param in wbparsevalue to determine datatype

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

matthiasmullie closed this task as Resolved.Dec 19 2019, 9:17 AM

Submit errors are now being displayed