Why does AEM not have any page versioning or history? | Community
Skip to main content
Level 8
October 4, 2023

Why does AEM not have any page versioning or history?

  • October 4, 2023
  • 3 replies
  • 6012 views

Our 20+ content team have been editing our 10 or so sites, with may be 500 pages per site, without any ability to revert to previous page versions or even see what pervious versions were, as AEM doesnt have this.

 

Frequently, we find a page which was edited say 10 days ago, but last published 20 days ago. We have no idea what was changed and if it will break when we publish it.

 

Surely AEM should have this?

 

There is a "restore" option in the tree structure viewer, but there are no versions to restore to.  

 

It seems crazy that aem doesnt keep a version each time you publish, and there is no option to create a version when you publish a page.

 

This is AEMs biggest weakness.

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

3 replies

Mahedi_Sabuj
Community Advisor
Community Advisor
October 4, 2023

AEM does provide the capability to create versions and compare or restore changes with previous versions.

Create VersionCompare/Restore Version

 

Mahedi Sabuj
TB3dockAuthor
Level 8
October 4, 2023

Interestingly, we tried this manual way of creating a version.

 

When we click on preview on a version, it either says

 

"preview not available"

 

or gives this:

 

Cannot serve request to /tmp/versionhistory/2d66a1a4b5da2f269c005e8fe6c2f3ebc559004f45341dc28bfb0fb0a485092/0555832a-6c4e-43d4-8218-a7c25ee063a4/our-web/oursite/uk/en/ourpage.html on this server

 

So even if we mange to get a version into the timeline, we cant perview it.

 

ALSO, we never want to to see previews, as 99% of the time we need to check a components parameters or the pages settings, not what it looks like.  This does not seem to be possible, so it appears we can never compare versions, even if the above preview issue was

fixed.

joerghoh
Adobe Employee
Adobe Employee
October 7, 2023

Sounds nice, but doesnt work.  firstly, it doesnt create versions by default.

Secondly, if we do create versions, and hit the preview, it simply gives a HTML error:

 

Cannot serve request to /tmp/versionhistory/2d66a1a4b5da2f269c005e8fe6c2f3ebc559004f45341dc28bfb0fb0a485092/0555832a-6c4e-43d4-8218-a7c25ee063a4/our-web/oursite/uk/en/ourpage.html on this server

 

Thirdly, 90% of the content is in the settings of components, so is not visible on any preview.  We need to be able to inspect the compoents settings to be able to see what changed, and this appears to be impossible.  


Please raise a support ticket, I don't think that we can solve this situation here in the forums.

Dipti_Chauhan
Community Advisor
Community Advisor
October 4, 2023

Not sure I get your question, In AEM also we have this option "Create version on page activation" in  AEM WCM Version Manager osgi service, Are you looking for this?

 

Thanks

dipti

TB3dockAuthor
Level 8
October 7, 2023

We are using the cloud version, so viewing and editing osgi services is not an option unfortunately.  Getting a dev to figure out what has to be hand coded in a text editor to set the correct osgi properties in the code takes significant effort and cost, with a 3-4 week release process taking into account the time it takes to build and deploy to each cloud env (dev, test, QA and stage) and test each one (as you cant migrate the same tested build artifact from one env to the next)

 

Is there a way to check what an aem cloud env has set for OSGI configs?  I thinkt he osgi config screens are all removed for cloud.

joerghoh
Adobe Employee
Adobe Employee
October 7, 2023

the configurations in this area are the same in the SDK and in the AEM CS instances. And it should be enabled.

 

 

 

Ram25535827lw4i
October 9, 2023

Dear @tb3dock 

 

Currently I am facing this issue like you. We are using AEM 6.4. Is this resolved or not.

 

If it is resolved, please help me how it is resolved.

 

many thanks in advance.

 

Cheers,

Ram