on 05-17-2016 5:11 PM
Greetings!
I have issues with enabling ASM for custom storefront. I've checked assistedservicestorefront wiki page for reference. I've created the impex for the custom catalog and installed the addon. However i'm given the following error:
Error processing component tag. currentComponent [AssistedServiceComponentModel (8796102034492@1)] exception: File "/WEB-INF/views/desktop/cms/assistedservicecomponent.jsp" not found
When I add the file manually I cannot access the services associated with assisted-service (login, logout etc).
The hybris console says:
WARN [hybrisHTTP4] [PageNotFound] Request method 'POST' not supported WARN [hybrisHTTP4] [PageNotFound] Request method 'POST' not supported
I found out where the problem was. There was missing setting in local.properties for the assistedservicestorefront-web-spring.xml. It wasn't described in the wiki for the ASM if a custom storefront was present. I read it when i made the ticketing service for c4c.
<customstorefront>.additionalWebSpringConfigs.assistedservicestorefront=classpath:/assistedservicestorefront/web/spring/assistedservicestorefront-web-spring.xml
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
intall this addon again on storefront
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Plamen .I have added this in local.properties , but still not able to reach AssistedServiceComponentController.java when click on login button. getting 404 error .additionalWebSpringConfigs.assistedservicestorefront=classpath:/assistedservicestorefront/web/spring/assistedservicestorefront-web-spring.xml
Thanks in Advance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Mikhail
I'm using hybris 6.0
The folder that is containing the component on my instance is WEB-INF\views\addons\assistedservicestorefront\desktop\cms\asm\assistedServiceComponent.jsp but the component isn't searched there. Also in that folder it is named with camel case, but the hybris is searching it with small letters.
By services I meant the controller - AssistedServiceComponentController. It looks like it is not working with the controller.
Thanks in advance!
Regards, Plamen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Plamen,
Two questions:
What version of ASM do you use?
Are you sure about your path? I've just checked and the correct one is WEB-INF\views\desktop\cms\asm\assistedServiceComponent.jsp
Console message isnt related, what did you mean by "cannot access the services" ?
Thanks, Mikhail
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.