chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Potts (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CMIS-970) Error when adding empty string to multi-valued property
Date Thu, 29 Dec 2016 23:26:58 GMT

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

Jeff Potts updated CMIS-970:
----------------------------
    Fix Version/s: cmislib 0.6.0

> Error when adding empty string to multi-valued property
> -------------------------------------------------------
>
>                 Key: CMIS-970
>                 URL: https://issues.apache.org/jira/browse/CMIS-970
>             Project: Chemistry
>          Issue Type: Bug
>          Components: python-cmislib
>    Affects Versions: cmislib 0.5.1
>         Environment: Linux, python 2.7.x, Alfresco 4.0.x
>            Reporter: Ernesto Revilla
>            Assignee: Jeff Potts
>             Fix For: cmislib 0.6.0
>
>
> 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