Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

After updating AEM 6.5.10 underscore dependency is not loading.

Avatar

Level 2

We have created a custom RTE component for linking the test to different links depending on the requirement.

So we have created a one extra pop-up on RTE. So for this we have created a js file. In this javascript we also have used underscore js and using for ex  _.isEmpty function. Now after AEM 6.5.10 upgrade it always says "_ is" not defined.

 

We have underscore as a dependency for out clientlibs. This was working with 6.5.5 but after 6.5.10 its not working.

 

I see one difference here is 

mahaboob_0-1633507897728.png

6.5.5 this lodash contains modern folder with categories lodash, underscore.

 

Now after 6.5.10 this modern folder is missing so these categories are missing.

mahaboob_1-1633508049711.png

 

So is this the reason underscore depedency that was added to out existing component is not getting recognised?

 

Thanks,

Mahaboob,

1 Accepted Solution

Avatar

Correct answer by
Level 1

Hi @mahaboob 

Lodash/underscore was deprecated in AEM 6.4.  It must have finally been removed in 6.5.10.

https://experienceleague.adobe.com/docs/experience-manager-64/release-notes/deprecated-removed-featu...

 

DevelopersLodash/underscore client library. Adobe does not plan to further maintain and update the Lodash/underscore client library that is shipped as part of the distribution (Quickstart)Adobe recommends customers that still require Lodash/underscore for their code to add it into their project code base.

View solution in original post

4 Replies

Avatar

Level 1

Hi , 

 

I am also facing same issue after installing new service pack.

Avatar

Level 1

Hi @mahaboob,

 

Try updating your RTE clientlib dependencies from underscore to lodash.underscore

 

Regards

Kavitha

Avatar

Correct answer by
Level 1

Hi @mahaboob 

Lodash/underscore was deprecated in AEM 6.4.  It must have finally been removed in 6.5.10.

https://experienceleague.adobe.com/docs/experience-manager-64/release-notes/deprecated-removed-featu...

 

DevelopersLodash/underscore client library. Adobe does not plan to further maintain and update the Lodash/underscore client library that is shipped as part of the distribution (Quickstart)Adobe recommends customers that still require Lodash/underscore for their code to add it into their project code base.