Home page updates gets published automatically without the author publishing the page | Community
Skip to main content
Level 2
August 9, 2023
Solved

Home page updates gets published automatically without the author publishing the page

  • August 9, 2023
  • 5 replies
  • 1165 views

When the main navigation or a content fragment on home page is updated(not published) , the home page gets published automatically and it shows that the author published it. But the author did not publish the page.

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

@silvia_joyce_balraj There could be some triggers like a workflow or event handler that might be causing the page to publish.

 

you could look for launchers - 

/libs/cq/workflow/admin/console/content/launchers.html

.

For workflows - /libs/cq/workflow/admin/console/content/archive.html and /libs/cq/workflow/admin/console/content/instances.html

 

Also, try looking into logs if you can trace it from there too.

5 replies

sherinregi-1
Community Advisor
Community Advisor
August 9, 2023

Content Fragments since its stored as part of assets , can you verify if any workflow launchers are configured which will trigger on any DAM node updates. This could be on instance. 

Are you consuming its directly through page authoring or Headless way. 

 

SivakumarKanoori
Community Advisor
Community Advisor
August 10, 2023

@silvia_joyce_balraj : 

 

As per OOTB features, The page will not get published automatically until and unless user click on the publish page . If user click on the publish page it will get all the references and publish all together.

 

There might be some of the below Customizations done in your code base. Check 

1) Is there any customized workflow created ? Check the launcher configuration in workflow as node created or node modified .

2) Is there any scheduler  which might run on periodically to get all the modified pages and publish them.

3) is there any custom event listener implemented , which can get invoked and publish the pages.

4) whenever content fragments updated, is there any customization done to get the references and publish them. 

5) Check the navigation component as well if there is any Customization for auto publish.

 

May be you can check the logs to find who published it or go to page path in crx/de and click on jcr:content and check for beow details .

 

 

 

 

Thanks 

Siva

 

Thanks,Siva
Manu_Mathew_
Community Advisor
Manu_Mathew_Community AdvisorAccepted solution
Community Advisor
August 10, 2023

@silvia_joyce_balraj There could be some triggers like a workflow or event handler that might be causing the page to publish.

 

you could look for launchers - 

/libs/cq/workflow/admin/console/content/launchers.html

.

For workflows - /libs/cq/workflow/admin/console/content/archive.html and /libs/cq/workflow/admin/console/content/instances.html

 

Also, try looking into logs if you can trace it from there too.

mahi1729
Level 4
August 11, 2023

My guess, but can't be so sure. Please check. The triggers section in your replication agent. If the modify flag is tuned on or checked may be turning it off might resolve the issue. Thanks 

Harwinder-singh
Community Advisor
Community Advisor
August 15, 2023

 @silvia_joyce_balraj  Check if there is a event Listener causing this. The effect (home page getting published) has to be due a cause (JCR observation event, navigation / CF update in this case).