Comment 3 for bug 28459

Revision history for this message
Siegfried Gevatter (rainct) wrote : Re: Handle mid-air collisions in bug reports

(From bug 123059:)

USE CASE
Mike opens a few bug reports to triage them; one of those is bug #11111. While Mike is triaging another bug, Daniel modifies bug #11111. After that, Mike finished with the current bug and decides to work on bug #11111 (which he already has loaded on a tab) and makes some changes too; when he submits them, Daniel's changes get silently overridden.

IDEAL CASE
When Mike submits his changes, those fields that didn't got changed by Daniel get applied, but he gets a warning about the conflicting ones, asking him to confirm those.

IMPLEMENTATION
A hidden input field whit the timestamp of when the page was loaded as value. This gets submitted with the other changes and is used to check if there were newer changes.