on 2018 Oct 04 1:12 PM
Hi all,
i've created a new Storefront with webroot=/mba and following local.properties: hac.webroot=/hac mbastorefront.webroot=/store storefrontContextRoot=/store website.mba.http=http://localhost:9001/store website.mba.https=https://localhost:9002/store
# Liveeditaddon has to be included in the storefronextension (not only by requires-extension).
mbastorefront.additionalWebSpringConfigs.liveeditaddon=classpath:/liveeditaddon/web/spring/b2c-properties-spring.xml,classpath:/liveeditaddon/web/spring/liveeditaddon-storefront-web-spring.xml
# Also some Spring used properties must be adopted, as the package is different after modulegen.
cmsPageBeforeViewHandler=com.my.storefront.interceptors.beforeview.CmsPageBeforeViewHandler
uiThemeResourceBeforeViewHandler=com.my.storefront.interceptors.beforeview.UiThemeResourceBeforeViewHandler
In backoffice i've created a Webpage with uid = storeand url pattern:
(?i)^https?://[^/]+(/[^?]*)?\?(.*\&)?(site=store)(|\&.*)$
(?i)^https?://store\.[^/]+(|/.*|\?.*)$
(?i)^https?://[^/]*/store((?![\?\&]site=).)*
(?i)^https?://[^/]*/localhost((?![\?\&]site=store).)*
If i try to open in the Webbrowser i've got a Server Error and in the Console Cannot find Cmssite associated...
But: if i open the page in WCMS liveedit and click any link in the page i can see and navigate the page in the browser (but only in the browser that has the liveedit open)
For me it looks like i can get no session or something else to show up the page.
Any idea?
Request clarification before answering.
it was a combination of the channel and the urlpattern
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I debuged the CmsSiteFilter.java but the error occures non debuggable Code (DefaultCMSSiteService) is there any way to debug DefaultCMSSiteService ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you debug the CmsSiteFilter.java; there must be some properties that you missed.
Hint, if it s b2b site; did you install b2bacceleratoraddon ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 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.