cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Endless loading/reloading of SmartEdit after adding ABanalytics

masdsalkfjh
Explorer
0 Likes
1,866

Hello! Short preview of my problem is in the GIF animation in the bottom.

I'm using Hybris 1811 and I have set up a SmartEdit in a way explained here: https://help.hybris.com/1811/hcd/6d55d5fba206425b9acecda9f2311483.html

But at the step (in the instruction above) where I have uncommented the impex data from essentialdata_smartedittraining.impex I have problems: When I open electronics-store in the SmartEdit (and want to try out the AB-Analytics-perspective) then it reloads endlessly, so that if I wait like 5 Minutes even my browser crashes. When I delete a ;applications.smartedittraining;{"smartEditLocation":"/smartedittraining/smartedittraining/js/smartedittraining.js"} from the essentialdata_smartedittraining.impex then the SMartEdit stops to reload endlessly and I can use it, but I can not try out the AB-Analytics-perspective.

There are no errors in the console where I start my hybris server. The only I can see in the Browser-Inspector that it reloads all SmartEdit's js-files.

I already searched for solutions here: I have added WCMS Cockpit Preview URL to Backoffice > WCMS > Website > WCMS Cockpit Properties.

I will be very thankful for your hints and help! Regards!

Accepted Solutions (0)

Answers (2)

Answers (2)

phoude
Participant
0 Likes

I have solved this by removing the abAnalytics files and removing references to it from the <yourextension>smarteditModule.js file.

former_member692910
Discoverer
0 Likes

Hi there, We had the same issue when using version 1905 with no apparent console errors.Make sure the configuration on SmartEdit has just the following,

storefrontPreviewRoute:"cx-preview"
previewTicketURI:"/previewwebservices/v1/preview"
applications.cmssmartedit:{"smartEditLocation": "/cmssmartedit/cmssmartedit/js/cmssmartedit.js" }
applications.cmssmarteditContainer:{"smartEditContainerLocation": "/cmssmartedit/cmssmartedit/js/cmssmarteditContainer.js" }
defaultToolingLanguage:"en"
whiteListedStorefronts:[]
applications.<yourextensionname>:{"smartEditLocation": "/<yourextensionname>/<yourextensionname>/js/<yourextensionname>.js"}
applications.<yourextensionname>Container:{"smartEditContainerLocation": "/<yourextensionname>/<yourextensionname>/js/<yourextensionname>Container.js"}

Note:

  1. Make sure you remove all other configurations, check before you hit the storefront that all the unwanted config has been removed completely
  2. You might want to clear the cache on the server that is running smartedit.

Hope this helps.