Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Authoring CQ.flow and CQ.workflow.flow.Step undefined after 6.5.12 upgrade

Avatar

Level 4

It seems I have a similar issue to https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/error-while-opening-page-e...

 

For me, this appears to have happened between the 6.5.11 and 6.5.12 upgrade. I did a quick check if I had conflicting overlays in /apps but nothing stood out. I tried rebuilding libs (to no luck).

 

I see the following errors in the JS console:

 

Handler of component is invalid -> TypeError: Cannot read properties of undefined (reading 'flow')
at eval (eval at ns.util.sanitizeCQHandler (https://localhost/libs/cq/gui/components/authoring/editors/clientlibs/core.min.js:273:94), <anonymous>:1:14)
at Object.ns.util.sanitizeCQHandler (https://localhost/libs/cq/gui/components/authoring/editors/clientlibs/core.min.js:273:94)
at Object.ns.util.sanitizeCQHandler (https://localhost/libs/cq/gui/components/authoring/editors/clientlibs/sites/page.min.js:1804:396)
at String.<anonymous> (https://localhost/libs/cq/gui/components/authoring/editors/clientlibs/core.min.js:326:337)
at Function.each (https://localhost/etc.clientlibs/clientlibs/granite/jquery.min.js:50:181)
at constructor._loadConfig (https://localhost/libs/cq/gui/components/authoring/editors/clientlibs/core.min.js:325:277)
at constructor.updateConfig (https://localhost/libs/cq/gui/components/authoring/editors/clientlibs/core.min.js:327:64)
at Object.<anonymous> (https://localhost/libs/cq/gui/components/authoring/editors/clientlibs/core.min.js:940:131)
at k (https://localhost/etc.clientlibs/clientlibs/granite/jquery.min.js:99:93)
at Object.fireWith [as resolveWith] (https://localhost/etc.clientlibs/clientlibs/granite/jquery.min.js:100:343)
(anonymous) @ core.min.js:formatted:10717
dispatch @ jquery.min.js:formatted:2500
h.handle @ jquery.min.js:formatted:2378
trigger @ jquery.min.js:formatted:2468
(anonymous) @ jquery.min.js:formatted:2788
each @ jquery.min.js:formatted:739
each @ jquery.min.js:formatted:630
trigger @ jquery.min.js:formatted:2787
ns.util.sanitizeCQHandler @ core.min.js:formatted:3915
ns.util.sanitizeCQHandler @ page.min.js:1804
(anonymous) @ core.min.js:formatted:4863
each @ jquery.min.js:formatted:743
_loadConfig @ core.min.js:formatted:4834
updateConfig @ core.min.js:formatted:4875
(anonymous) @ core.min.js:formatted:14957
k @ jquery.min.js:formatted:1909
fireWith @ jquery.min.js:formatted:1961
d @ jquery.min.js:formatted:4125
b @ jquery.min.js:formatted:4404
XMLHttpRequest.send (async)
XMLHttpRequest.send @ granite.min.js:7
send @ jquery.min.js:formatted:4385
ajax @ jquery.min.js:formatted:4223
ns.persistence.Request.send @ core.min.js:formatted:6817
sendReadParagraph @ core.min.js:formatted:7109
self.readParagraph @ core.min.js:formatted:7062
self.loadConfig @ core.min.js:formatted:14953
(anonymous) @ core.min.js:formatted:16870
loadFromPersistentStorage @ core.min.js:formatted:16864
(anonymous) @ core.min.js:formatted:16925
(anonymous) @ core.min.js:formatted:16947
(anonymous) @ core.min.js:formatted:16949

 

As well as a "core.min.js:formatted:10717 Handler of component is invalid -> TypeError: Cannot read properties of undefined (reading 'Step')"

 

 

I suspect I might have an overlay of permission issue somewhere as a simple tweak.

 

1 Accepted Solution

Avatar

Correct answer by
Level 4

Possible solution:

Clear localStorage

 

After walking back the traces - I saw references to localStorage and on a whim decided clear (most of it - I left a few entries related to my custom site)

 

After which  - I didn't see the issue.

 

I then tried to edit in Incognito mode as a double check / verification - and the same error was no longer there.

 

This might be worth adding to release notes.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 4

Possible solution:

Clear localStorage

 

After walking back the traces - I saw references to localStorage and on a whim decided clear (most of it - I left a few entries related to my custom site)

 

After which  - I didn't see the issue.

 

I then tried to edit in Incognito mode as a double check / verification - and the same error was no longer there.

 

This might be worth adding to release notes.