Commit 1c18b9b7 authored by Aurel's avatar Aurel

transform xml elements to sting explicitely for keyword of

workflow_history. This fix a bug which prevent from accessing the
Base_viewHistory view of documents imported by a conduit.
Thanks to Nicolas


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32285 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent bbe57da9
......@@ -777,7 +777,7 @@ class ERP5Conduit(XMLSyncUtilsMixin):
"""
status = {}
for subnode in xml:
keyword = subnode.xpath('name()')
keyword = str(subnode.xpath('name()'))
value = self.getObjectProperty(keyword, xml)
status[keyword] = value
return status
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment