Add try except to cmislib to fix multi-value update problem. Closes #CMIS-970.
git-svn-id: https://svn.apache.org/repos/asf/chemistry/cmislib/trunk@1734877 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/cmislib/atompub/binding.py b/src/cmislib/atompub/binding.py
index 994ad40..32f8b92 100644
--- a/src/cmislib/atompub/binding.py
+++ b/src/cmislib/atompub/binding.py
@@ -578,9 +578,12 @@
else:
propertyValue = []
for valNode in valNodeList:
- propertyValue.append(parsePropValue(valNode.
+ try:
+ propertyValue.append(parsePropValue(valNode.
childNodes[0].data,
node.localName))
+ except IndexError:
+ pass
else:
propertyValue = None
self._properties[propertyName] = propertyValue