Expand my Community achievements bar.

SOLVED

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

Avatar

Level 2

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.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

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