Content Fragment - Updates are getting deleted when cancel is clicked

Avatar

Avatar

shaileshb584084

Avatar

shaileshb584084

shaileshb584084

06-06-2020

Steps to reproduce:-

  1. Create a Fragment.
  2. Now switch to the properties tab and add few properties in the content fragment.
  3. Open the properties again to change the properties.
  4. Do not change anything in the properties and click cancel.

Expected result: Fragment should have the updated value.

Actual result: Updated value is not getting reflected.

 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

surabhikatiyar

Employee

Avatar

surabhikatiyar

Employee

surabhikatiyar
Employee

06-06-2020

There is a version that gets created when the content fragment is edited. The OOTB functionality of the content fragment is to support concurrent changes by multiple users simultaneously so that they do not overwrite each other's changes.

Basically the cookies are set which determine the start and stop of the current session. If you fall in the duration of the session at the time of clicking the cancel button. The content fragment is pointed to one version back, and that's the reason you are not able to see the updated value.

Note:- You can try changing the period autosave property as well to prevent the data loss if you want to increase or decrease the duration of the autosave.

Link:-https://helpx.adobe.com/in/experience-manager/6-3/sites/developing/using/customizing-content-fragmen...

Answers (1)

Answers (1)

Avatar

Avatar

manising

Avatar

manising

manising

07-06-2020

@shaileshb584084  For which version of AEM are you facing this behaviour? I tried on AEM  6.5.0 and could not reproduce. Can you please open a support ticket for this so that this can be further looked into.