Project

General

Profile

Feature #340

Updated by Alexander Watzinger almost 8 years ago

Try to avoid that changes get overwritten when users are logged in simultaneously. 

 Display an error message if an entry was modified edited since the update form was opened. 

 Limitations: 

 1) Only the main entities are being checked on update (source, event, actor, place, reference. It could still be possible that e.g. a type name gets accidentally overwritten. 

 2) For data consistency it was decided against providing an option to overwrite data which has changed in the meantime. 

 3) Some advanced form elements doesn't behave like expected after an overwrite error e.g. jstree with multiple option isn't prefilled with chosen options, which shouldn't be a big issue, since the entry cant be saved in this state anyway. 


 *To do* 

 - event 
 - place 
 - reference 
 - refactor forms with ternary operators for readability 

 -actor- 
 -source- 


Back