cubicweb #615291 prevent simultaneous edition [done]

Adim said on dec 21st 2006: it would be nice to prevent the simultaneous edition of entities. Here are a couple ideas:

  • display a warning at the top of the edition view stating "this entity is currently being edited by someone else". It would require a timeout for the case when first person abandons the edition without clicking ok or cancel.
  • add to the form a hidden field that contains the last modification datetime. When the form is validated, if the last modification datetime has changed, do not accept the changes, stay in edit mode and display a message stating "this entity was modified during your own edition process".
prioritynormal
typeenhancement
done in3.20.0
load1.000
load left0.000
closed by<not specified>