-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 8.10, 9.1
-
Component/s: Core MarkLogic
-
Sprint:nxfit 9.1.4
-
Story Points:3
In NXQL queries in MarkLogic connector, we don't escape double quote when building XCC request which leads to this error:
com.marklogic.xcc.exceptions.XQueryException: XDMP-UNEXPECTED: (err:XPST0003) Unexpected token syntax error, unexpected QName_, expecting Rpar_ [Session: user=root, cb=unittests [ContentSource: user=root, cb=unittests [provider: address=localhost/127.0.0.1:8030, pool=3/64]]] [Client: XCC/8.0-5, Server: XDBC/8.0-6] on line 5 expr: at com.marklogic.xcc.impl.handlers.ServerExceptionHandler.handleResponse(ServerExceptionHandler.java:34) at com.marklogic.xcc.impl.handlers.EvalRequestController.serverDialog(EvalRequestController.java:96) at com.marklogic.xcc.impl.handlers.AbstractRequestController.runRequest(AbstractRequestController.java:88) at com.marklogic.xcc.impl.SessionImpl.submitRequestInternal(SessionImpl.java:437) at com.marklogic.xcc.impl.SessionImpl.submitRequest(SessionImpl.java:432) at org.nuxeo.ecm.core.storage.marklogic.MarkLogicRepository.queryAndFetch(MarkLogicRepository.java:344) ... 72 more
Issue highlighted by FetchByPropertyTest.testEscaping
- is related to
-
NXP-21319 Run platform tests locally on MarkLogic
- Resolved