Highlighted

Experience Fragment JS Error

salman18j

03-12-2018

I am not able to add any other component after adding General - Experience Fragment Component on Page. I am getting following JS error on the page:

An error has occured during execution of the selected action: code.indexOf is not a function -> TypeError: code.indexOf is not a function

    at Object.ns.util.sanitizeCQHandler (http://localhost:4502/libs/cq/gui/components/authoring/editors/clientlibs/sites/page.ffa6fd2f38c3c80...)

    at http://localhost:4502/libs/cq/gui/components/authoring/editors/clientlibs/core.62a4d5c92159bcf5ed865...

    at Array.forEach (<anonymous>)

    at cleanActions (http://localhost:4502/libs/cq/gui/components/authoring/editors/clientlibs/core.62a4d5c92159bcf5ed865...)

    at cleanEditableActions (http://localhost:4502/libs/cq/gui/components/authoring/editors/clientlibs/core.62a4d5c92159bcf5ed865...)

    at Object.ns.configParser (http://localhost:4502/libs/cq/gui/components/authoring/editors/clientlibs/core.62a4d5c92159bcf5ed865...)

    at new constructor (http://localhost:4502/libs/cq/gui/components/authoring/editors/clientlibs/core.62a4d5c92159bcf5ed865...)

    at HTMLUnknownElement.<anonymous> (http://localhost:4502/libs/cq/gui/components/authoring/editors/clientlibs/core.62a4d5c92159bcf5ed865...)

    at Function.each (http://localhost:4502/etc.clientlibs/clientlibs/granite/jquery.5e8d3382f82b03b0bf3fea3024eecd61.js:3...)

    at jQuery.fn.init.each (http://localhost:4502/etc.clientlibs/clientlibs/granite/jquery.5e8d3382f82b03b0bf3fea3024eecd61.js:1...)

I am not sure if I am fixing any clientlibs here.

Regards,

Salman

Replies