Content Fragment - Updates are getting deleted when cancel is clicked | Community
Skip to main content
Level 2
June 6, 2020
Solved

Content Fragment - Updates are getting deleted when cancel is clicked

  • June 6, 2020
  • 2 replies
  • 2140 views

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.

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Surabhi_Katiyar

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

2 replies

Surabhi_Katiyar
Adobe Employee
Surabhi_KatiyarAdobe EmployeeAccepted solution
Adobe Employee
June 6, 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-fragments.html

Adobe Employee
June 8, 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.