Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

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

Avatar

Level 2

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.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@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.

View solution in original post

5 Replies

Avatar

Level 8

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. 

 

Avatar

Community Advisor

@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 .

 

SivakumarKanoori_0-1691633151374.png

 

 

 

Thanks 

Siva

 

Thanks,
Siva

Avatar

Correct answer by
Community Advisor

@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.

Avatar

Level 5

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 

Avatar

Community Advisor

 @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).