-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable QueryBatcher to take in a RawCtsQueryDefinition #965
Comments
Trunk - Committed revision 291425. |
This has a server dependency. Hence 4.1.1 should be aligned with 9.0.7 or it should be released later. |
Running a test with The stack trace is:
...
...
|
The issue is that the handle doesn't specify the format. A POST without a specified format is being treated as an application/x-www-form-urlencoded, which tries to map the body to URI parameters. The request succeeds after adding handle.withFormat(Format.XML) Looking into whether QueryManager defaults the format.... |
QueryManager defaults the format to XML. So, the internal requester should do the same. |
I updated this test to execute both with and without an explicit format: com.marklogic.client.test.datamovement.QueryBatcherTest#testRawCtsQuery |
Right now QueryBatcher can't take in a Raw Cts Query and process results based on the Cts query passed. We need to enable QueryBatcher to take in a RawCtsQueryDefinition in order to accomplish this.
The text was updated successfully, but these errors were encountered: