Does Mantis detect 'Mid-Air collisions' when 2ppl edit a bug
Posted: 12 Jan 2007, 19:26
It was with dawning horror that I realized I don't *think* Mantis checks for this:
Alice opens defect 1234 in her browser and starts typing a bug note, and changes the state from FOO to BAR
Simultaneously, Bob opens defect 1234 and starts editing, adding his own bug note but *does not* change the state, leaving it at FOO
While Bob is working, Alice submits her changes (new bugnote, state FOO => BAR).
Then, Bob submits his changes which adds his new bugnote but which *changes the state back to FOO*
I've tested this in 1.0.6 and there does not appear to be any safeguard against it.
[Bugzilla does have this facility, incidentally, in the above scenario Bob would get a warning when he submits that the bug has changed since he started editing and giving him the option to plow ahead and clobber Alice's changes *or* get a new synthesis of his bug and alice's changes and reconcile them.]
Standard apology if this has been asked before but I didn't see it in any of the help or discussion fora and thanks in advance
hmackiernan/SF, CA
Alice opens defect 1234 in her browser and starts typing a bug note, and changes the state from FOO to BAR
Simultaneously, Bob opens defect 1234 and starts editing, adding his own bug note but *does not* change the state, leaving it at FOO
While Bob is working, Alice submits her changes (new bugnote, state FOO => BAR).
Then, Bob submits his changes which adds his new bugnote but which *changes the state back to FOO*
I've tested this in 1.0.6 and there does not appear to be any safeguard against it.
[Bugzilla does have this facility, incidentally, in the above scenario Bob would get a warning when he submits that the bug has changed since he started editing and giving him the option to plow ahead and clobber Alice's changes *or* get a new synthesis of his bug and alice's changes and reconcile them.]
Standard apology if this has been asked before but I didn't see it in any of the help or discussion fora and thanks in advance
hmackiernan/SF, CA