Expand my Community achievements bar.

SOLVED

JS Errors with Explain Query

Avatar

Level 4

I'm told that Explain Query can be used to help troubleshoot queries and indexes. I've installed acs-aem-tools-content-0.0.20.zip on AEM6 SP2. when i visit /etc/acs-tools/explain-query.html, I see JS errors below. I've also attached a screenshot 

Error: [$injector:unpr] http://errors.angularjs.org/1.2.23/$injector/unpr?p0=aProvider%20%3C-%20a at Error (native) at http://localhost:4502/etc/clientlibs/acs-tools/vendor/angularjs.min.js:5:9 at http://localhost:4502/etc/clientlibs/acs-tools/vendor/angularjs.min.js:400:40 at Object.X [as get] (http://localhost:4502/etc/clientlibs/acs-tools/vendor/angularjs.min.js:371:38) at http://localhost:4502/etc/clientlibs/acs-tools/vendor/angularjs.min.js:401:43 at X (http://localhost:4502/etc/clientlibs/acs-tools/vendor/angularjs.min.js:371:38) at V (http://localhost:4502/etc/clientlibs/acs-tools/vendor/angularjs.min.js:380:43) at Object.D.instantiate (http://localhost:4502/etc/clientlibs/acs-tools/vendor/angularjs.min.js:386:4) at http://localhost:4502/etc/clientlibs/acs-tools/vendor/angularjs.min.js:883:5 at http://localhost:4502/etc/clientlibs/acs-tools/vendor/angularjs.min.js:690:4
1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Seeing the logs it seems one of the angular dependency is not met thats usually when $injector reports the issue.

I would suggest in your system/console change the settings for HTMLClientLibraryManager and change debug to checked and gzip and minify to uncheck and try once again. This should help you identify which js is failing.

localhost:4502/system/console/configMgr#com.day.cq.widget.impl.HtmlLibraryManagerImpl

- Runal

View solution in original post

3 Replies

Avatar

Level 10

You state:

I'm told that Explain Query can be used to help troubleshoot queries and indexes

Did someone point your to an online resource that states this works with AEM? 

Avatar

Correct answer by
Community Advisor

Seeing the logs it seems one of the angular dependency is not met thats usually when $injector reports the issue.

I would suggest in your system/console change the settings for HTMLClientLibraryManager and change debug to checked and gzip and minify to uncheck and try once again. This should help you identify which js is failing.

localhost:4502/system/console/configMgr#com.day.cq.widget.impl.HtmlLibraryManagerImpl

- Runal

Avatar

Level 4

I got the suggestion to try Explain Query in reply to my SO question about trouble creating a Lucene ordered property index...

http://stackoverflow.com/questions/29836289/how-to-setup-lucene-index-for-aem