[patch] Concurrent edits of tickets can overwrite changes to blocking / blocked_by fields
|Reported by:||dagvl||Owned by:||coderanger|
|Cc:||dale.miller@…, mmitar@…, lukecyca||Trac Release:||0.11|
Description (last modified by coderanger)
Steps to reproduce:
Given two ticket #1 and #2, open both in their own browser window.
Go to ticket #2, set blocking to 1 and save.
Go to ticket #1, add a comment and click save.
You will get the "blocked_by deleted" message.
The plugin does not update the changetime of tickets when it modifies them causing MVCC to fail to detect the change.
Always update the changetime on ticket changes.
Attached patch implements this behaviour.