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

How to use Smartedit with OOTB accelerators

Former Member
0 Likes
1,121

Hello,

I've installed hybris 6.7p0 with the recipe b2c_acc_oms. Then I've followed the steps described in :

After launching SmartEdit from https://localhost:9002/smartedit with user cmsmanager-electronics I'm able to see the pages of electronics website and to chose the "edit mode". But there is nothing that seems editable. I can't create new composant either. The only available options are Restrictions and Page info. The first one do nothing, the second display an empty popin.

I've the good rights as suggested by the WS called (Cf.sceenshot). Also I wonder why the WS is called 5 times in a row...

Even if I use apparel site or admin user it never works.

What I missed? How to make SmartEdit work OOTB with accelerator websites?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

Ok so I missed several stuff :

  • node and npm were not properly installed/configured

  • Grunt was not installed (I used npm install -g grunt-cli and npm install grunt --save-dev)

  • hybris had to be updated from command line with administrator rights

After that it seems that everything was working well but I still add a issue in SmartEdit and the loading never end :

Internal Exception: org.apache.catalina.connector.ClientAbortException: java.io.IOException: Une connexion établie a été abandonnée par un logiciel de votre ordinateur hôte INFO | jvm 1 | main | 2018/05/14 09:44:51.756 | at org.ee.persistence.exceptions.XMLMarshalException.marshalException(XMLMarshalException.java:104) ~[org.ee.persistence.core-2.7.0.jar:?] INFO | jvm 1 | main | 2018/05/14 09:44:51.756 | at org.ee.persistence.oxm.record.JSONWriterRecord.flush(JSONWriterRecord.java:762) ~[org.ee.persistence.core-2.7.0.jar:?] INFO | jvm 1 | main | 2018/05/14 09:44:51.756 | at org.ee.persistence.internal.oxm.XMLMarshaller.marshalStreamOrWriter(XMLMarshaller.java:1144) ~[org.ee.persistence.core-2.7.0.jar:?] INFO | jvm 1 | main | 2018/05/14 09:44:51.757 | at org.ee.persistence.internal.oxm.XMLMarshaller.marshal(XMLMarshaller.java:934) ~[org.ee.persistence.core-2.7.0.jar:?] INFO | jvm 1 | main | 2018/05/14 09:44:51.758 | at org.ee.persistence.internal.oxm.XMLMarshaller.marshal(XMLMarshaller.java:977) ~[org.ee.persistence.core-2.7.0.jar:?] INFO | jvm 1 | main | 2018/05/14 09:44:51.758 | at org.ee.persistence.oxm.XMLMarshaller.marshal(XMLMarshaller.java:172) ~[org.ee.persistence.core-2.7.0.jar:?] INFO | jvm 1 | main | 2018/05/14 09:44:51.758 | at org.ee.persistence.jaxb.JAXBMarshaller.marshal(JAXBMarshaller.java:534) ~[org.ee.persistence.moxy-2.7.0.jar:?] INFO | jvm 1 | main | 2018/05/14 09:44:51.758 | at de.hybris.platform.webservicescommons.jaxb.Jaxb2HttpMessageConverter.marshal(Jaxb2HttpMessageConverter.java:169) ~[webservicescommonsserver.jar:?]

The solution was to reinstall from scratch with a different recipe. I used b2b_b2c_acc (or b2c_acc_plus) instead of b2c_acc_oms. With the good recipe I didn't have to do more than installing the recipe and start the server.

The b2c_acc_oms don't include smartedit so I'll try to install it on this recipe installation. I had an other addon installed that maybe had created the issue.

Answers (1)

Answers (1)

Former Member
0 Likes

Hi,

From what you have explained, the most probable reason why you see only Restrictions and Page Info is that either:

  • You are viewing a page in an active catalog version (Online) where you have only read permissions (or)

  • You are viewing a page in an inactive catalog version but the page comes from the parent catalog version (ie., you are in a child catalog version in a multi country setup)

You should generally be able to edit an inactive catalog version (Staged) if you have write permissions to it.

Former Member
0 Likes

Hi, thanks for the answer. I use "staged" for content catalog, I've also tried to use "staged" product catalog but it's didn't work either. The permission are also goods as you can see in the screenshot.

Former Member
0 Likes

Hi Sidharth, I am facing a situation as same as what you have explained in your second point. Is that how it should work? We can't use Smart Edit on child catalog version in a multi country setup?