cancel
Showing results for 
Search instead for 
Did you mean: 

Upgrading SmartEdit from 6.4 to 2205 Contextual Menu not loading

andreas_estermann
Discoverer
0 Kudos
991

I have upgraded our solution from Hybris 6.4 to SAP CX 22.05.7 with steps at 6.7 and 20.11. We use SmartEdit to edit the CMS.

The top menu works fine, I can browse through the navigation / page list and also see all components. However, I do not get the contextual menu for our content slots when I switch the page to edit mode. The preview of the page does not change whether I am in preview or any of the edit modes. I can drag new components onto the preview area but I cannot drop them in any existing content slots.

There are no error messages in the js console in the browser, I just get those warnings:

Failed to load legacy AngularJS module cmssmartedit into legacySmartedit; SmartEdit functionality may be compromised.

It worked fine in version 20.11.

We use the old legacy cms tld from the storefront:

<%@ taglib prefix="cms" uri="http://hybris.com/tld/cmstags" %>
<cms:pageSlot position="Section1" var="feature">
<cms:component component="${feature}" element="div" class="clazz"/>
</cms:pageSlot>
Is the old legacy SmartEdit functionality no longer supported in 22.05 or what am I missing?
View Entire Topic
phoude
Participant
0 Kudos

@andreas_estermann  I am having the same warnings but I get the contextual menu. This error is only happening in 2205, I don't see this issue in 2211. The content of smarteditcontainer.js is vastly different between 2205 and 2211. The content of smarteditaddon.js is pretty much empty except for a copyright comment at the top of the file. There is absolutely nothing else in there so I don't know if you did something else to resolve your issue.

phoude_0-1730410905096.png

 

__PRESENT