chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Müller (JIRA) <j...@apache.org>
Subject [jira] [Resolved] (CMIS-721) TCK Create and Delete Relationship test doesn't work well because of updatability of cmis:sourceId and cmis:targetId
Date Thu, 12 Sep 2013 17:32:53 GMT

     [ https://issues.apache.org/jira/browse/CMIS-721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Florian Müller resolved CMIS-721.
---------------------------------

    Resolution: Not A Problem
    
> 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

Mime
View raw message