Expand my Community achievements bar.

SOLVED

Content Fragment - Updates are getting deleted when cancel is clicked

Avatar

Level 3

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.

 

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

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...

View solution in original post

2 Replies

Avatar

Correct answer by
Employee Advisor

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...

Avatar

Level 3

@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.