Modify ↓
Opened 17 years ago
Closed 15 years ago
#4167 closed defect (fixed)
[patch] Concurrent edits of tickets can overwrite changes to blocking / blocked_by fields
| Reported by: | Dag Viggo Lokøen | Owned by: | Noah Kantrowitz |
|---|---|---|---|
| Priority: | normal | Component: | MasterTicketsPlugin |
| Severity: | major | Keywords: | concurrency, dataloss |
| Cc: | dale.miller@…, Mitar, Luke Cyca | Trac Release: | 0.11 |
Description (last modified by )
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.
Analysis: The plugin does not update the changetime of tickets when it modifies them causing MVCC to fail to detect the change.
Solution: Always update the changetime on ticket changes.
Attached patch implements this behaviour.
Attachments (1)
Change History (6)
Changed 17 years ago by
| Attachment: | concurrent_fix.patch added |
|---|
comment:1 Changed 17 years ago by
| Cc: | dale.miller@… added; anonymous removed |
|---|
Added address to cc field.
comment:2 Changed 16 years ago by
| Cc: | Mitar added |
|---|
comment:3 Changed 15 years ago by
This patch works great. I've been using it heavily in production for >6 months.
comment:4 Changed 15 years ago by
| Cc: | Luke Cyca added |
|---|
comment:5 Changed 15 years ago by
| Description: | modified (diff) |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
Fix committed.
Note: See
TracTickets for help on using
tickets.



Patch to fix concurrent edits issue