Details
-
Bug
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
None
-
-
Empty show more show less
-
Kromeriz 56
-
1
Description
WcsLoginLogoutFilter filter tries to get storeId from the page hierarchy, but if page is not WCS then this fails on "javax.jcr.ItemNotFoundException: Root node doesn't have a parent". And this spams log.
2016-08-08 13:27:00,071 WARN gnolia.wcs.integration.filter.WcsLoginLogoutFilter: Unable to obtain store id for node node /
javax.jcr.ItemNotFoundException: Root node doesn't have a parent
at org.apache.jackrabbit.core.NodeImpl$6.perform(NodeImpl.java:1754)
at org.apache.jackrabbit.core.NodeImpl$6.perform(NodeImpl.java:1747)
at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)
at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:91)
at org.apache.jackrabbit.core.NodeImpl.getParent(NodeImpl.java:1747)
at info.magnolia.jcr.wrapper.DelegateNodeWrapper.getParent(DelegateNodeWrapper.java:494)
at info.magnolia.jcr.decoration.ContentDecoratorNodeWrapper.getParent(ContentDecoratorNodeWrapper.java:121)
at info.magnolia.jcr.wrapper.DelegateNodeWrapper.getParent(DelegateNodeWrapper.java:494)
at info.magnolia.jcr.decoration.ContentDecoratorNodeWrapper.getParent(ContentDecoratorNodeWrapper.java:121)
at info.magnolia.jcr.wrapper.DelegateNodeWrapper.getParent(DelegateNodeWrapper.java:494)
at info.magnolia.jcr.decoration.ContentDecoratorNodeWrapper.getParent(ContentDecoratorNodeWrapper.java:121)
at info.magnolia.jcr.wrapper.DelegateNodeWrapper.getParent(DelegateNodeWrapper.java:494)
at info.magnolia.jcr.decoration.ContentDecoratorNodeWrapper.getParent(ContentDecoratorNodeWrapper.java:121)
at info.magnolia.jcr.wrapper.DelegateNodeWrapper.getParent(DelegateNodeWrapper.java:494)
at info.magnolia.jcr.decoration.ContentDecoratorNodeWrapper.getParent(ContentDecoratorNodeWrapper.java:121)
at info.magnolia.personalization.decoration.PersonalizationNodeWrapper.getParent(PersonalizationNodeWrapper.java:152)
at info.magnolia.wcs.integration.filter.WcsLoginLogoutFilter.getStoreId(WcsLoginLogoutFilter.java:155)
at info.magnolia.wcs.integration.filter.WcsLoginLogoutFilter.doFilter(WcsLoginLogoutFilter.java:110)
Checklists
Acceptance criteria