Expand my Community achievements bar.

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

Avatar

Level 2

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.

 

 

2 Replies

Avatar

Employee Advisor

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

 

 

Avatar

Community Advisor

Hi @vikesh1 

 

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.