You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by Sascha Egerer <sa...@googlemail.com> on 2015/04/24 09:19:51 UTC

Property with empty id

Hi,

do i understand it correctly that a Property does not need a Id if it has a
queryName? At least it is implemented like that
https://github.com/apache/chemistry-opencmis/blob/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/JSONConverter.java#L2062
Is that correct or is that a bug?


Regards

Sascha Egerer

Re: Property with empty id

Posted by Florian Müller <fm...@apache.org>.
Hi Sascha,

A Property must always have an ID except if it used in a query result.
In a query result a Property should have an ID and must have a query 
name.


- Florian



> Hi,
> 
> do i understand it correctly that a Property does not need a Id if it 
> has a
> queryName? At least it is implemented like that
> https://github.com/apache/chemistry-opencmis/blob/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/JSONConverter.java#L2062
> Is that correct or is that a bug?
> 
> 
> Regards
> 
> Sascha Egerer