chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jay brown (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CMIS-363) Property is null! (AbstractSessionTest.java:1215)
Date Wed, 04 May 2011 20:57:03 GMT

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

jay brown commented on CMIS-363:
--------------------------------

Verified the property ID matches.

Here is the property Definition:
<cmis:propertyIdDefinition>
<cmis:id>IndexationId</cmis:id>
<cmis:localName>IndexationId</cmis:localName>
<cmis:displayName>Indexation Id</cmis:displayName>
<cmis:queryName>IndexationId</cmis:queryName>
−
<cmis:description>
The object id of the verity collection an object is stored into, or null for objects that
were full text indexed prior to the 4.0 release.
</cmis:description>
<cmis:propertyType>id</cmis:propertyType>
<cmis:cardinality>single</cmis:cardinality>
<cmis:updatability>readonly</cmis:updatability>
<cmis:inherited>false</cmis:inherited>
<cmis:required>false</cmis:required>
<cmis:queryable>true</cmis:queryable>
<cmis:orderable>true</cmis:orderable>
<cmis:openChoice>false</cmis:openChoice>
<p8ext:isHidden>false</p8ext:isHidden>
</cmis:propertyIdDefinition>

>  Property is null! (AbstractSessionTest.java:1215)
> --------------------------------------------------
>
>                 Key: CMIS-363
>                 URL: https://issues.apache.org/jira/browse/CMIS-363
>             Project: Chemistry
>          Issue Type: Bug
>          Components: tck
>    Affects Versions: OpenCMIS 0.3.0
>            Reporter: jay brown
>            Assignee: Florian Müller
>
> When testing the openCMIS TCK against our server we see a great many of errors like this:
>   FAILURE: Root folder object spec compliance (AbstractCmisTest.java:114)
>   FAILURE: Property IndexationId (AbstractSessionTest.java:1215)
>   FAILURE: Property is null! (AbstractSessionTest.java:1215)
>   INFO: Object is null!
> the offending xml element in our response looks like this:
>  <cmis:propertyId queryName="IndexationId" displayName="Indexation Id" localName="IndexationId"
propertyDefinitionId="IndexationId"/>
> Since our metadata for this property states that this is not required (required=false),
I believe this representation is a valid way to express a 'not set' condition.  
> Can we change to TCK to accept this form of a 'not set' property?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message