chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Topfstedt (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CMIS-290) extractObjectFromNode() returns object with null-keyed properties array
Date Wed, 01 Dec 2010 18:34:10 GMT

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

Stefan Topfstedt updated CMIS-290:
----------------------------------

    Status: Patch Available  (was: Open)

this patch fixes this issue.

> 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.


Mime
View raw message