Page MenuHomePhabricator

Depicts form incorrect state
Closed, ResolvedPublicBUG REPORT

Description

User story: N/A

We have this:
On File page:

  • add a depicts statement
  • while the statement is submitting, and the form is in 'pending' state (with the 'publish' button disabled), quickly add another depicts statement before the api responds
  • after the api response comes back, the form goes back into the 'read' state, even though it should be in the 'edit' state as a new statement has been added ... and when you click 'edit' the 'publish' button is disabled

We want this:

  • simplest solution is probably to disable or hide the 'depicts' input while the form is submitting

Acceptance Criteria:

  • the depicts form no longer goes into incorrect states

Event Timeline

Change 498868 had a related patch set uploaded (by Matthias Mullie; owner: Matthias Mullie):
[mediawiki/extensions/WikibaseMediaInfo@master] Disable adding new statements while they're being submitted

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

Change 498868 merged by jenkins-bot:
[mediawiki/extensions/WikibaseMediaInfo@master] Disable adding new statements while they're being submitted

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

Tested on production (autosuggest box is disabled during submit of depicts)