-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 5.5, 5.5.0-HF01
-
Fix Version/s: 5.5.0-HF18, 5.6.0-HF08, 5.7.1
-
Component/s: Dashboard / OpenSocial (deprecated)
In the Quick search gadget, trying to save an NXQL query such as Select * from Document where dc:creator='Administrator' crashes (same with double quotes):
18:36:19,930 WARN [CoreQueryDocumentPageProvider] Failed to execute query: org.nuxeo.ecm.core.query.QueryParseException: Lexical Error: Illegal character <&> at offset 40 in query: Select * from Document where dc:creator='Administrator' org.nuxeo.ecm.core.api.ClientException: Failed to execute query: org.nuxeo.ecm.core.query.QueryParseException: Lexical Error: Illegal character <&> at offset 40 in query: Select * from Document where dc:creator='Administrator' at org.nuxeo.ecm.core.api.AbstractSession.query(AbstractSession.java:1474) at org.nuxeo.ecm.core.api.AbstractSession.query(AbstractSession.java:1384) at sun.reflect.GeneratedMethodAccessor407.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.nuxeo.ecm.core.api.TransactionalCoreSessionWrapper.invoke(TransactionalCoreSessionWrapper.java:127) at $Proxy28.query(Unknown Source) at org.nuxeo.ecm.platform.query.nxql.CoreQueryDocumentPageProvider.getCurrentPage(CoreQueryDocumentPageProvider.java:93) at org.nuxeo.ecm.automation.core.operations.services.PaginableDocumentModelListImpl.<init>(PaginableDocumentModelListImpl.java:34) at org.nuxeo.ecm.automation.core.operations.services.DocumentPageProviderOperation.run(DocumentPageProviderOperation.java:136)