AEM 6.5 - OOTB Js does not seem to have the necessary code to load more content in the content tree, resulting in an exception. | Community
Skip to main content
Adobe Employee
February 25, 2025
Solved

AEM 6.5 - OOTB Js does not seem to have the necessary code to load more content in the content tree, resulting in an exception.

  • February 25, 2025
  • 3 replies
  • 626 views

/granite/ui/components/coral/foundation/components/clientlibs/components.js is OOTB js which is throwing an exception.

 

This issue is happening if there is more content to be loaded in the content tree. The current OOTB JS does not seem to have the code to load more content and subsequently throws the above exception.

 

 

The below code seems to be missing in on Prem, due to which load more is not working

 

 

 


 

 

Best answer by EstebanBustamante

Hi @bhap 

 

You are right. This appears to be a bug that should be reported to Adobe. As a temporary solution, you can extend the clientlib and add the missing function so it works correctly until Adobe releases a hotfix.

 

3 replies

kautuk_sahni
Community Manager
Community Manager
February 26, 2025

@estebanbustamante @sreenivasbr @shubhanshusi2 @rahulmohan @narendragandhi @digarg17 Your input would really help! If you have time, please review this question and share your thoughts.

Kautuk Sahni
EstebanBustamante
Community Advisor and Adobe Champion
EstebanBustamanteCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
February 26, 2025

Hi @bhap 

 

You are right. This appears to be a bug that should be reported to Adobe. As a temporary solution, you can extend the clientlib and add the missing function so it works correctly until Adobe releases a hotfix.

 

Esteban Bustamante
narendiran_ravi
Level 6
March 2, 2025

Hi @bhap ,

I have tried to replicate this in a vanilla 6.5 instance, and load more functionality of the content tree is working fine. This URL is called to load the content: http://localhost:4502/mnt/overlay/granite/ui/content/tree.40.html/content/dam/projects?columnPath=/mnt/overlay/dam/gui/content/assets/jcr%3acontent/views/column&_=1740930495725 . You can check if this URL is called upon clicking Load more button in the content tree. Also, check if any custom code is causing this exception.