Skip to main content
New Participant
February 28, 2022

When a page is created, even if its not published its showing published date and published by default.

  • February 28, 2022
  • 2 replies
  • 866 views

When I create a new page the Published date and Published by is coming same for all pages. Even though its never published. Due to this not be able to find which pages are not published.

 

When unpublished and published the page it looks good.

Any inputs on this or where can i look into to fix this?

 

Thanks.

 

 

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

2 replies

Kiran_Vedantam
New Participant
February 28, 2022

Hi @vikramp8 

 

The publihed date and published by properties should not be created when page is created. Can you check your log if any other services are running on the page path which is creating it? Please share the log for more help.

 

Thanks,

Kiran Vedantam.

DEBAL_DAS
New Participant
February 28, 2022

Do you have any Event Listener which is responsible to add properties while creating the page?

If yes, then please check list of the properties those are getting added.

 

Then you could give a try to identify list of unpublished(newly created) pages with cq:lastReplicationAction like - SELECT * FROM [cq:Page] AS s WHERE ISDESCENDANTNODE([/content/demo]) and [jcr:content/cq:lastReplicationAction] is null