chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jorge.MARTIN-CUE...@ext.ec.europa.eu>
Subject RE: CreateAndDeleteRelationshipTest()
Date Thu, 21 Aug 2014 11:47:25 GMT
Thanks Florian and Michael,

The errata document helps me a lot to understand some of my doubts I have encountered in CMIS
1.1 spec.

Regards.

Jorge MARTIN CUERVO

European Commission
DG TRADE
Unit A4
CHAR 02/077
B-1049 Brussels/Belgium
+32 2 298 86 27
jorge.martin-cuervo@ext.ec.europa.eu


-----Original Message-----
From: Florian Müller [mailto:fmui@apache.org] 
Sent: Thursday, August 21, 2014 12:13 PM
To: MARTIN CUERVO Jorge (TRADE-EXT); dev
Subject: Re: CreateAndDeleteRelationshipTest()

Hi Jorge,

You ran into spec bugs, which will be addressed in the CMIS 1.1 Errata 01.

A draft of the errata is available here:
https://www.oasis-open.org/committees/document.php?document_id=53102&wg_abbrev=cmis


- Florian


> Hello everybody,
> 
> Currently I am validating all TCKs against our recent CMIS 1.1 server
> implementation and I have a question related to relationships.
> The spec of CMIS 1.0 don't specify the updatability of the cmis:relationship
> properties cmis:sourceId and cmis:targetId, so we decided to use readwrite.
> Now, in the CMIS 1.1 the updatability is readonly, so I changed it.
> 
> As a consequence the test now is failing. The code from
> ObjectFactoryImpl.convertProperties() is ignoring the readonly properties and
> sending to the server only the readwrite and oncreate.
> 
> We have a similar change in CMIS 1.1 with the cmis:objectTypeId, in 1.0 was
> oncreate and now is readonly.
> 
> Removing the client property filtering code is easy, but I don't if there are
> other implications.
> My suggestion is having a sort of white list with readonly properties not
> filtered, what do you think?
> 
> Thanks.
> Jorge MARTIN CUERVO
> [cid:image001.gif@01CCF6D0.4613B970]
> European Commission
> DG TRADE
> Unit A4
> CHAR 02/077
> B-1049 Brussels/Belgium
> +32 2 298 86 27
> jorge.martin-cuervo@ext.ec.europa.eu<mailto:jorge.martin-cuervo@ext.ec.europa.eu>
>
Mime
View raw message