acs-aem-tools icon indicating copy to clipboard operation
acs-aem-tools copied to clipboard

Query Editor js error on AEM 6.5.10

Open pebcakerror opened this issue 2 years ago • 1 comments

AEM 6.5.10

Query Editor throws js/angular error when 'Run Query' button is clicked.

ReferenceError: _ is not defined angularjs.js:92 
    at params (clientlibs.js:97)
    at k.$scope.query (clientlibs.js:108)
    at angularjs.js:177
    at angularjs.js:194
    at k.$eval (angularjs.js:112)
    at k.$apply (angularjs.js:112)
    at HTMLButtonElement.<anonymous> (angularjs.js:194)
    at HTMLButtonElement.dispatch (jquery.js:5232)
    at HTMLButtonElement.elemData.handle (jquery.js:4884)

Snag_185923c6

pebcakerror avatar Nov 02 '21 15:11 pebcakerror

a quick fix is provided in https://github.com/Adobe-Consulting-Services/acs-aem-tools/issues/239#issuecomment-1210604923 but ideally it would be cleaner to get rid of the underscore dependency; the usages that I've found seem to be limited to _.each()

ncautotest avatar Aug 10 '22 14:08 ncautotest