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

Avatar

Avatar

RobertBailey1

Avatar

RobertBailey1

RobertBailey1

29-10-2020

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.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

BrianKasingli

MVP

Avatar

BrianKasingli

MVP

BrianKasingli
MVP

13-11-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.

Answers (0)