"Handlebars.compile is not a function" reported after upgrading from AEM 6.5.2 to AEM 6.5.6 | Community
Skip to main content
Level 4
October 29, 2020
Solved

"Handlebars.compile is not a function" reported after upgrading from AEM 6.5.2 to AEM 6.5.6

  • October 29, 2020
  • 1 reply
  • 2748 views

Hi All,

I have recently upgraded from AEM 6.5 SP 2 to AEM 6.5 SP 6.

Since upgrading , the Select Font button on Rich Text Content Fragment editor has stopped working , and I am seeing error "Handlebars.compile is not a function" in console output.

Please can you advise if you know how to resolve this?

Thank you for your time.

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 BrianKasingli

@robertbailey1,

It looks like AEM 6.5 SP 6 may have updated the handlebars version within /libs/clientlibs/social/thirdparty/handlebars. What you need to do is find out which version AEM 6.5 SP 2 uses, and Override the client library for the correct version. The clientlib.category should be cq.handlebars.

1 reply

BrianKasingli
Community Advisor and Adobe Champion
BrianKasingliCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
November 13, 2020

@robertbailey1,

It looks like AEM 6.5 SP 6 may have updated the handlebars version within /libs/clientlibs/social/thirdparty/handlebars. What you need to do is find out which version AEM 6.5 SP 2 uses, and Override the client library for the correct version. The clientlib.category should be cq.handlebars.