https://bugzilla.wikimedia.org/show_bug.cgi?id=56849
Web browser: ---
Bug ID: 56849
Summary: Edit conflict detection has regressed and suffers a
race condition
Product: MediaWiki
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Page editing
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
Mobile Platform: ---
In theory, we perform a lazy 1-second granularity timestamp check to detect
conflicts, then a second test is performed atomically during updateRevisionOn.
However, the atomic test is broken because getLatest is returning the *new*
latest id rather than the oldid stored at the time the user opened the article
edit page.
This can be easily confirmed by disabling the timestamp test at EditPage.php
line 1613.
My initial guess is that we were relying on the hidden "oldid" form parameter,
but this always has a value of "0".
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l