View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0009899 | mantisbt | bugtracker | public | 2008-11-26 00:38 | 2009-06-26 12:02 |
Reporter | olegos | Assigned To | vboctor | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | duplicate | ||
Product Version | 1.2.0a2 | ||||
Summary | 0009899: Prevent loss of data during simultaneous updates | ||||
Description | Currently if two users update the same issue at the same time, one set of changes is silently lost. Changes are lost even if users update different fields, as long as user2 starts his update before user1 submits his. I propose refusing update if any of the fields being updated have changed in the DB since the original values were retrieved. This involves 1) figuring out exactly which fields were updated by the user, and 2) figuring out whether they changed outside of this session. Both can be done by saving the original values (or their checksums), and comparing to the values in the database right before the update, preferably in a single DB transaction. | ||||
Steps To Reproduce |
| ||||
Tags | No tags attached. | ||||