AEM Page, why jcr:created timestamp is changing when new changes are published.

Accepted Solutions (1)

Accepted Solutions (1)

Ravi_Pampana

MVP

13-03-2019

I observed this behavior in old versions of AEM (6.2, 6.1) and also in AEM 6.4, whenever a page is activated jcr:created property will have the last activation date and it differs between author and publisher

You can check AEM performance issue with Java 7 -- Below is the content in the page

Question

Why jcr:created property is being changed in case of any activation?

Answer

This is a common misunderstanding that you are updating the same node on the publisher.
What is actually happening is that you are creating a new version of the node when you activate it and on the publisher, you then insert the new node instead of the old one. If you look at the jcr:content of your node in the Publisher, then you will notice the properties jcr:baseVersion, jcr:predecessors and jcr:versionHistory that are all of the type Reference (or Reference array). Take a look at them nodes and you will find the "old ones". There is a lot of things going on under the surface when creating the nodes. Same thing happens on the author side.

Answers (2)

Answers (2)

umangm64311237

13-03-2019

I tried the same in fresh aem 6.4.3 with author and publish and I can see this error. Created a video of that and posting that here via youtube. You can notice date is getting changed.