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

Richard McKnight commented on CMIS-290:
---------------------------------------

I have applied the patch and added a few more checks

> extractObjectFromNode() returns object with null-keyed properties array
> -----------------------------------------------------------------------
>
>                 Key: CMIS-290
>                 URL: https://issues.apache.org/jira/browse/CMIS-290
>             Project: Chemistry
>          Issue Type: Bug
>          Components: cmis-phplib
>         Environment: PHP 5.2
> Alfresco CE 3.4b
>            Reporter: Stefan Topfstedt
>            Priority: Minor
>         Attachments: propDefId.patch
>
>
> This is caused by the fact that Alfresco stuffs its non-standard aspects 
> inside the "<cmis:properties>" tag.
> See the XML snippets in:
> http://wiki.alfresco.com/wiki/CMIS#Aspect_CRUD
> for details
> While extracting the props from the node list, the code is missing a check on 
> whether the each node actually *has* a "propertyDefinitionId" attribute or 
> not.
> Due to this glitch the value of the first property given within 
> "cmis:properties->alf:aspects->alf:properties" gets added to the properties 
> assoc. array with a null-key.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to