-
Bug
-
Resolution: Fixed
-
Neutral
-
1.2.1
-
-
Empty show more show less
-
Maintenance 14
-
2
when user enters string in a find bar that starts with slash, such as path, the search results in no results being displayed and exceptions are printed in the logs.
info.magnolia.periscope.search.SearchException: javax.jcr.query.InvalidQueryException: '/' not allowed in name at info.magnolia.periscope.search.jcr.JcrSearchResultSupplier.search(JcrSearchResultSupplier.java:133) at info.magnolia.periscope.search.jcr.JcrSearchResultSupplierTest.pathSearch(JcrSearchResultSupplierTest.java:192) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) Caused by: javax.jcr.query.InvalidQueryException: '/' not allowed in name at org.apache.jackrabbit.spi.commons.query.qom.QueryObjectModelFactoryImpl.checkPropertyName(QueryObjectModelFactoryImpl.java:1034) at org.apache.jackrabbit.spi.commons.query.qom.QueryObjectModelFactoryImpl.propertyExistence(QueryObjectModelFactoryImpl.java:481) at info.magnolia.periscope.search.jcr.JcrSearchResultSupplier.runQuery(JcrSearchResultSupplier.java:165) at info.magnolia.periscope.search.jcr.JcrSearchResultSupplier.search(JcrSearchResultSupplier.java:129) ... 28 more
Acceptance criteria