Page MenuHomePhabricator

Edit conflict when both tabs are submitted at the same time
Closed, InvalidPublicBUG REPORT

Description

Steps to reproduce:

(easier way to reproduce this is to add a depicts tag but don't click publish, then switch tab and add a bunch of captions ... then quickly hit 'publish' for the captions, switch tabs, and hit 'publish' for depicts)

We want this:

  • One way to prevent this is to disable submission of the depicts form while the captions form is submitting (and vice versa)
  • Other way could be to have baseRevId live inside a Promise and find a way to chain API calls to it

Not 100% this is worthwhile, perhaps the edit conflict is not a problem?

Acceptance Criteria:

  • not possible to get an edit conflict (or close this ticket as invalid)

Event Timeline

Cparle renamed this task from [Insert issue here] to Edit conflict when both tabs are submitted at the same time.Apr 1 2019, 4:30 PM
Ramsey-WMF moved this task from Untriaged to Triaged on the Multimedia board.

I have not been able to replicate this, and I think the input process required to make it happen is an extreme edge case we don't need to worry about.