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
BedrockMission!

Learn More

View all

Sign in to view all badges

Experience Fragment JS Error

Avatar

Avatar
Validate 1
Level 2
salman18j
Level 2

Likes

8 likes

Total Posts

6 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 2
salman18j
Level 2

Likes

8 likes

Total Posts

6 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
salman18j
Level 2

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

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

03-12-2018

We checked with Customer Care and this is a known issue. This was the response:

. It’s fixed in 6.4.3 due out soon.

Avatar

Avatar
Validate 1
Level 2
salman18j
Level 2

Likes

8 likes

Total Posts

6 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 2
salman18j
Level 2

Likes

8 likes

Total Posts

6 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
salman18j
Level 2

03-12-2018

Also after uninstalling ACS common package. I am not getting this error. It is a bug in ACS commons. Experience fragment edit mode issue · Issue #1602 · Adobe-Consulting-Services/acs-aem-commons · GitH...

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

04-12-2018

thank you for posting this information.