In AEM 6.3 classic UI, When i am trying to overlay
/libs/cq/security/widgets/source/widgets/security/data/AclStore.js
to
/apps/cq/security/widgets/source/widgets/security/data/AclStore.js
the following error is coming TypeError: CQ.security.data is undefined CQ.security.data.UserAclStore = CQ.Ext.extend(CQ.security.data.AclStore,{
Like this we are getting error for all the overlay js has issue in AEM 6.3.
Solved! Go to Solution.
Views
Replies
Total Likes
I have resolved the issue using the below logic. Clientlibs js file creation logic is differed in AEM 6.3. In AEM 6.1 Clientlibs js creation is binding the overlaid files from /apps/cq/security/widgets/source/widgets/js.txt and non overlaid files from /libs/cq/security/widgets/source/widgets/js.txt In AEM 6.3 Clientlibs js creation is binding files from /apps/cq/security/widgets/source/widgets/js.txt only. Because of this non overlaid files (CQ.security.js) are not binding into clientlibs js(widgets.js) and its gives the below error
Please provide your answer if there is any other way to resolve this issue. |
Views
Replies
Total Likes
So are you saying everything works fine in Classic when it's not overlaid, but you are getting the error when overlaying /apps/cq/security/widgets/source/widgets/security/data/AclStore.js without any modifications?
Views
Replies
Total Likes
I have resolved the issue using the below logic. Clientlibs js file creation logic is differed in AEM 6.3. In AEM 6.1 Clientlibs js creation is binding the overlaid files from /apps/cq/security/widgets/source/widgets/js.txt and non overlaid files from /libs/cq/security/widgets/source/widgets/js.txt In AEM 6.3 Clientlibs js creation is binding files from /apps/cq/security/widgets/source/widgets/js.txt only. Because of this non overlaid files (CQ.security.js) are not binding into clientlibs js(widgets.js) and its gives the below error
Please provide your answer if there is any other way to resolve this issue. |
Views
Replies
Total Likes
Yes. I have tried the above approach to resolve the issue.
Views
Replies
Total Likes