Skip to Content
Former Member
Aug 23, 2017 at 11:57 AM

debugging presmartedit.js in smart edit extension


There is an error being thrown from presmartedit.js in hybris\bin\ext-content\smartedit\web\webroot\static-resources\dist\smartedit\js.

This error is related to smart edit application in hybris 6.3. when i try to view the content catalog (either staged or online version) in preview mode in smart edit i am getting an error like:

{name: "InvalidStorefrontPageError", message: "Error detected. The page is not a valid storefront page."} message : "Error detected. The page is not a valid storefront page." name : "InvalidStorefrontPageError".

This error is thrown from presmartedit.js which is written in angularJS. but since it seems to be encrypted, i am unable to understand the reason for that error to fix the same.

Has anyone been faced with similar error earlier and fixed it? Or is there any way we can get the actual JS source for this particular file. Please help me.