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

Florian Müller commented on CMIS-721:
-------------------------------------

That's a spec bug and will be fixed in the CMIS 1.1 Errata 1.
See: https://tools.oasis-open.org/issues/browse/CMIS-757
                
> TCK Create and Delete Relationship test doesn't work well because of 
> updatability of cmis:sourceId and cmis:targetId
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: CMIS-721
>                 URL: https://issues.apache.org/jira/browse/CMIS-721
>             Project: Chemistry
>          Issue Type: Bug
>         Environment: Workbenck version: "Version: 1.0.0-SNAPSHOT / Revision: 
> 1519696 / Build: 2013-09-03T16:33:20+0200"
>            Reporter: linzhixing
>            Priority: Minor
>
> org.apache.chemistry.opencmis.tck.impl.AbstractSessionTest.createRelationship(AbstractSessionTest.java:526)
> org.apache.chemistry.opencmis.tck.impl.AbstractSessionTest.createRelationship(AbstractSessionTest.java:498)
> org.apache.chemistry.opencmis.tck.tests.crud.CreateAndDeleteRelationshipTest.run(CreateAndDeleteRelationshipTest.java:62)
> --
> AbstractSessionTest.java:498 calls SessionImpl#createRelationship and then 
> converts properties including cmis:sourceId and cmis:targetId at Line:817, 
> with updatabilityFilter(ONCREATE, READWRITE)
> ObjectFactoryImpl#convertProperties loops the properties but skips if a 
> property's updatability is not contained in the updatabilityFilter.(at 
> Line:406)
> According to specs 2.1.6.1.2, cmis:sourceId and cmis:targetId are both of 
> updatability:READONLY, and so my server does.
> That is why cmis:sourceId and cmis:targetId is not passed to Atompub 
> ObjectServiceImpl#createRelation and it caused that error.

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

Reply via email to