Uploaded image for project: 'Chemistry'
  1. Chemistry
  2. CMIS-970

Error when adding empty string to multi-valued property

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • cmislib 0.5.1
    • cmislib 0.6.0
    • python-cmislib
    • None
    • Linux, python 2.7.x, Alfresco 4.0.x

    • Patch

    Description

      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.

      Attachments

        Activity

          People

            jpotts Jeffrey Taylor Potts
            erny1803 Ernesto Revilla
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: