[ 
https://issues.apache.org/jira/browse/CMIS-153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12844038#action_12844038
 ] 

David Caruana commented on CMIS-153:
------------------------------------

The spec needs to be made much clearer re: query GET support. It is supported.

See:

http://tools.oasis-open.org/issues/browse/CMIS-172
http://tools.oasis-open.org/issues/browse/CMIS-378

GET query support is required for the 'query' URI template which must be 
provided, if the repository supports query.

In Alfresco, the paging links are rendered in accordance with the query URI 
template.

I believe the TCK is complying with the spec, and would like close this as not 
a bug.

> 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.

Reply via email to