Project

General

Profile

Bug #3629

Collaboration for content objects fails when 2 people are working simultaneously

Added by Sven Vanpoucke over 9 years ago. Updated almost 9 years ago.

Status:
Bug resolved
Priority:
Normal
Assignee:
Sven Vanpoucke
Target version:
Start date:
20/06/2011
Due date:
% Done:

100%

Estimated time:
Complexity:
Normal

Description

When collaborating on the same object at the same moment it is possible that some data gets lost.

Example:

* person 1 opens object for update
* person 2 opens object for update
* person 1 updates
* person 2 updates and overwrites the update of person 1 because he didn't get the data of person 1

Solution

  • Add the modified date to a hidden field in the form
  • When clicking on update do a javascript request for the latest modification date of the object
  • If date is not correct, give a warning message, cancel the update and grey out the update button

History

#1

Updated by Sven Vanpoucke over 9 years ago

  • Project changed from Assessment to Repository
#2

Updated by Sven Vanpoucke over 9 years ago

  • Assignee set to Sven Vanpoucke
#3

Updated by Sven Vanpoucke over 9 years ago

  • Status changed from New to Needs testing
  • Target version set to 2.1.0
  • % Done changed from 0 to 100

Fixed this in latest stable code

#4

Updated by Stefaan Vanbillemont almost 9 years ago

  • Status changed from Needs testing to Bug resolved

Also available in: Atom PDF