Expand my Community achievements bar.

Where the script /etc/clientlibs/granite/legacy/shared.js is included programmatically for Touch UI?

Avatar

Level 1

When I try to visit the properties of a page in Touch UI using the URL http://<our-author-prod-server>/mnt/overlay/wcm/core/content/sites/properties.html?item=%2Fcontent%2..., we found one console error saying MSM is not defined (only in author-prod, the same code working in author-stage [both having the same service pack "Adobe Experience Manager, Version 6.2.0.SP1-CFP7"]). due to this error, we are not able to see the live-copy inheritance icons beside the propertie's fields.

When I checked the page source, I found that the script "/etc/clientlibs/granite/legacy/shared.js" is not included properly and it is blocking "/libs/wcm/msm/content/touch-ui/authoring/commons" clientlibs to be getting loaded on the page.

We tried to find the reference page in all apps, libs, and etc folders but we couldn't find it.

Not sure, from where the reference is coming from but it is blocking other scripts to be loaded on the page. The code issue is as mentioned below

<script type="text/javascript" src="/etc/clientlibs/granite/legacy/shared.js"></scri<>

     <script type="text/javascript" src="/libs/wcm/msm/content/touch-ui/authoring/commons.js"></script>

I believe it is part of Adobe lib files since we are trying to see the properties page which is an AEM internal page.

2 Replies

Avatar

Level 10

Are you using OOTB files for AEM - like We Retail. Can you please state your steps to see if this is reproducible.

Avatar

Level 1

No, we are not using..
just go to http://localhost:4502/sites (Version 6.2.0.SP1-CFP7, the issue is only in Author-Prod environment)

then chose any site and select any live copy page

then click view properties on top bar
check your browser console to see the error "MSM is not defined"
Now view the page source on browser to find the above mentioned "legacy\shared.js" script error