[
https://issues.apache.org/jira/browse/CMIS-153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12845330#action_12845330
]
Alexey Zavizionov commented on CMIS-153:
----------------------------------------
We are agree with that the spec needs to be clear for query GET.
It's ok to use GET for uri templates.
> There is no GET method for Query service in the specification. Use POST
> (3.7.2.1) instead.
> ------------------------------------------------------------------------------------------
>
> Key: CMIS-153
> URL: https://issues.apache.org/jira/browse/CMIS-153
> Project: Chemistry
> Issue Type: Bug
> Components: tck
> Reporter: Alexey Zavizionov
>
> java.lang.AssertionError: Request status for
> http://localhost:8080/xcmis/rest/cmisatom/cmis1/query/?q=SELECT%20cmis%3AobjectId%2C%20cmis%3AobjectTypeId%2C%20cmis%3Aname%20FROM%20cmis%3Adocument%20WHERE%20IN_FOLDER%28%2749779dd17f000101005c9ab594dabe11%27%29&maxItems=4&skipCount=4
> expected:<200> but was:<405>
> at org.junit.Assert.fail(Assert.java:92)
> at org.junit.Assert.failNotEquals(Assert.java:689)
> at org.junit.Assert.assertEquals(Assert.java:127)
> at org.junit.Assert.assertEquals(Assert.java:514)
> at
> org.apache.chemistry.tck.atompub.client.CMISClient.executeRequest(CMISClient.java:539)
> at
> org.apache.chemistry.tck.atompub.client.CMISClient.executeRequest(CMISClient.java:510)
> at
> org.apache.chemistry.tck.atompub.client.CMISClient.getFeed(CMISClient.java:354)
> at
> org.apache.chemistry.tck.atompub.client.CMISClient.getFeed(CMISClient.java:349)
> at
> org.apache.chemistry.tck.atompub.test.spec.QueryPagingTest.testQueryPaging(QueryPagingTest.java:111)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.