aem-core-wcm-components icon indicating copy to clipboard operation
aem-core-wcm-components copied to clipboard

Page List items show incorrect last modified date in data layer

Open HitmanInWis opened this issue 1 year ago • 0 comments

Bug present as of version: 2.24.7-SNAPSHOT

When rendering the data layer for page list items, the current repo:modifyDate represents the last modify date of the linked cq:Page node. This is incorrect in one of two possible ways.

  1. We could argue that the list item should not have a repo:modifyDate at all, since the data layer item is giving the data of this "list item" (not the page), and the modifyDate of this list item is unknown b/c the link doesnt exist as a resource in the JCR in the case of a list pulled by Child, Search, or Tag options.

  2. OR if we do want the repo:modifyDate to match the page last modified date, then it should be looking at the jcr:content resource underneath the cq:Page, to match with the last modified date that is displayed when the Show date option on the List component dialog is toggled on.

HitmanInWis avatar May 28 '24 18:05 HitmanInWis