Content Fragment versioning

Avatar

Avatar
Give Back
Level 1
joshe79092507
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Give Back
Ignite 1
View profile

Avatar
Give Back
Level 1
joshe79092507
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Give Back
Ignite 1
View profile
joshe79092507
Level 1

25-04-2019

We are using Content Fragments with AEM 6.4 and have noticed that Cancel from the editor creates a new revision and will automatically overwrite any changes that may have been made outside the editor.  Anyone know why this is happening and if there is a way to configure this behavior?   Testing the same Cancel scenario with another asset type like a png, does not cause a new revision to be created.

Replies

Avatar

Avatar
Boost 250
MVP
Gaurav-Behl
MVP

Likes

250 likes

Total Posts

1,147 posts

Correct reply

283 solutions
Top badges earned
Boost 250
Establish
Give back 300
Give Back 50
Give Back 5
View profile

Avatar
Boost 250
MVP
Gaurav-Behl
MVP

Likes

250 likes

Total Posts

1,147 posts

Correct reply

283 solutions
Top badges earned
Boost 250
Establish
Give back 300
Give Back 50
Give Back 5
View profile
Gaurav-Behl
MVP

25-04-2019

Somehow I couldn't reproduce this behavior on 6.4.4

Not sure, if there is a specific way to reproduce it?

Avatar

Avatar
Give Back
Level 1
joshe79092507
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Give Back
Ignite 1
View profile

Avatar
Give Back
Level 1
joshe79092507
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Give Back
Ignite 1
View profile
joshe79092507
Level 1

26-04-2019

I have tried on 6.4.3 and 6.4.4 and see the same behavior.

Steps to reproduce:

  1. Create a content fragment
  2. View timeline
  3. Open fragment for editing
  4. Cancel without making any changes
  5. View timeline
  6. Notice a new version has been created.   This appears to be a full rollback and will have overwritten any changes that may have been made to the underlying data while the editor was open.

Avatar

Avatar
Validate 25
MVP
PuzanovsP
MVP

Likes

140 likes

Total Posts

543 posts

Correct reply

165 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Contributor 2
Ignite 10
View profile

Avatar
Validate 25
MVP
PuzanovsP
MVP

Likes

140 likes

Total Posts

543 posts

Correct reply

165 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Contributor 2
Ignite 10
View profile
PuzanovsP
MVP

26-04-2019

Hey Joshe,

Yeah, cancel can be a pretty heavy weight operation(noticed this too) as in every time a version get's created indeed.

If you do not need to create a version simply close the tab without clicking the cancel button.

There is no config to cancel the cancel button operation functionality I am aware of.

Regards,

Peter

Avatar

Avatar
Give Back
Level 1
joshe79092507
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Give Back
Ignite 1
View profile

Avatar
Give Back
Level 1
joshe79092507
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Give Back
Ignite 1
View profile
joshe79092507
Level 1

26-04-2019

If this is not configurable, does anyone know what should be overlayed to change the behavior?