chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Commented] (CMIS-618) This operation requires that the node be versionable (that is, isNodeType("mix:versionable") == true)
Date Tue, 02 Apr 2013 14:23:17 GMT

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

Michael Dürig commented on CMIS-618:
------------------------------------

Applied patch at revision 1463558.
Thanks [~rhauch] for reviewing and [~hok] for submitting the patch.

Note, I still get test failures in {{chemistry-opencmis-test-fit} when running with {{-Pjcr-modeshape-inmemory}}
or {{-Pjcr-jackrabbit-inmemory}}. But these seem to be independent of this issue and should
be tracked separately. 

Please resolve the issue as fixed if this solves your problem.
                
> This operation requires that the node be versionable (that is, isNodeType("mix:versionable")
== true)
> -----------------------------------------------------------------------------------------------------
>
>                 Key: CMIS-618
>                 URL: https://issues.apache.org/jira/browse/CMIS-618
>             Project: Chemistry
>          Issue Type: Sub-task
>          Components: opencmis-server-jcr
>    Affects Versions: OpenCMIS 0.9.0 beta 1
>            Reporter: Ivan Vasyliev
>         Attachments: versioningType.patch
>
>
> TCK executed with modeshape profile. Modeshape does not support mix:simpleVersionable.
> Stacktrace:
> org.apache.chemistry.opencmis.commons.exceptions.CmisStorageException: This operation
requires that the node be versionable (that is, isNodeType("mix:versionable") == true)
> at org.apache.chemistry.opencmis.client.bindings.spi.webservices.AbstractWebServicesService.convertException(AbstractWebServicesService.java:117)
> at org.apache.chemistry.opencmis.client.bindings.spi.webservices.ObjectServiceImpl.createDocument(ObjectServiceImpl.java:86)
> at org.apache.chemistry.opencmis.client.runtime.SessionImpl.createDocument(SessionImpl.java:726)
> at org.apache.chemistry.opencmis.client.runtime.FolderImpl.createDocument(FolderImpl.java:88)
> at org.apache.chemistry.opencmis.tck.impl.AbstractSessionTest.createDocument(AbstractSessionTest.java:368)
> at org.apache.chemistry.opencmis.tck.impl.AbstractSessionTest.createDocument(AbstractSessionTest.java:335)
> Proposed fix:
> {code}
> if(simpleVersionable supported)
>    use simpleVersionable
> else if(versionable supported)
>    use versionable
> else 
>    throw exception
> {code}
> Could you please elaborate what are the possible issues with jcr bridge when switching
to mix:versionable? (EOW, what else needs to be changed?)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message