Unable to Publish on AEM 6.5.3 | Community
Skip to main content
Level 4
March 22, 2020
Question

Unable to Publish on AEM 6.5.3

  • March 22, 2020
  • 4 replies
  • 5619 views

Hi all, 

 

I am running into an interesting bug, I am not able to publish any content from Author > Publish on AEM 6.5.3 on only one specific environment, I am not running into this issue on any other environments. This issue is observed as a part of 6.4 to 6.5 upgrade. The replication agents etc are all configured and nothing (specific) in the logs. The only error seen is in the browser, which is "Uncaught TypeError: Handlebars.compile is not a function". I've also checked out this article which points to a similar issue, but not helpful. I don't see this error in Edit mode, I only see this error when I try to publish any content, the page is blank, I don't see the publish button on top right. My project has not overridden any OOTB features or clientLibs that uses Handlebars, so I don't understand the handlebars exception. ACS version is v4.3.4 if thats of any help. 

 

Please provide pointers/suggestions, thanks in advance! 

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

4 replies

Nirmal_Jose
Adobe Employee
Adobe Employee
March 23, 2020

.

Nirmal_Jose
Adobe Employee
Adobe Employee
March 23, 2020
Can you share two things 1. Check /etc/replication/agents.author/<replication-agent-name>.log.html and see whether a POST request is initiated to /bin/receive - If a request is generated and failing with error, then its an network issue. 2. Can you share a screenshot of 'page is blank, I don't see the publish button on top right' scenario.' - This points to a JS error on that particular mode you are trying for. Thanks in advance
BerusAuthor
Level 4
March 23, 2020

The call to /bin/receive is a 200.

Attached screenshot below, 

BerusAuthor
Level 4
March 23, 2020
The clientLibs in the error point to "/libs/cq/gui/components/siteadmin/admin/publishwizard/clientlibs" and the Handlebars gets included here "/libs/clientlibs/social/thirdparty/handlebars".