chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laurent Mignon (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CMIS-971) Error when calling createFolder with properties parameter
Date Fri, 18 Mar 2016 16:25:33 GMT

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

Laurent Mignon updated CMIS-971:
--------------------------------
    Environment: Linux, python 2.7.x, Alfresco 5.0.x  (was: Linux, python 2.7.x, Alfresco
4.0.x)

> Error when calling createFolder with properties parameter
> ---------------------------------------------------------
>
>                 Key: CMIS-971
>                 URL: https://issues.apache.org/jira/browse/CMIS-971
>             Project: Chemistry
>          Issue Type: Bug
>          Components: python-cmislib
>    Affects Versions: cmislib 0.5.1
>         Environment: Linux, python 2.7.x, Alfresco 5.0.x
>            Reporter: Laurent Mignon
>            Assignee: Jeff Potts
>
> When setting adding an empty string for a multiple valued property, the we got IndexError
error because Alfresco returns <value /> and cmislib does valnode.children[0] in both,
cmislib and cmislibalf, during xmlDoc parsing.
> Adding a try ... except: IndexError: pass resolves the problem.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message