Project

General

Profile

Actions

Feature #2621

closed

Errors when editing an issue that was just edited - StaleObjectError

Added by Eric Davis almost 16 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
2009-01-29
Due date:
% Done:

0%

Estimated time:
Resolution:
Duplicate

Description

What should happen

  1. User A opens issue #100 and starts to update it with content and files
  2. User B opens issues #100, changes the status, and saves
  3. User A submits the form
  4. Images are uploaded
  5. Redmine finds User A's data was stale
  6. Redmine redirect User A to the edit form with the data User A has seen but without a stale lock
  7. Redmine displays User A's comment and time entry data properly in the form
  8. Redmine displays an Error message saying the data was updated by another user
  9. User A checks the form and resubmits
  10. Redmine saves User A's data

Bugs

8. The error should say which data was updated. Since User B changed the Status it should say "Status was changed to XYZ"

9. Re-submitting the form fails because Redmine is using the stale lock and not a fresh one. Since the lock is never renewed, the user will be unable to submit the form successfully.

I have working code and will integrate it once it's been tested and cleaned up


Files


Related issues

Related to Redmine - Defect #3846: issue edit accepts attachment even if the change is rejected because the issue has been updated by another userClosed2009-09-10

Actions
Actions

Also available in: Atom PDF