[Erp5-report] r32285 aurel - /erp5/trunk/products/ERP5SyncML/Conduit/ERP5Conduit.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Feb 5 11:33:18 CET 2010
Author: aurel
Date: Fri Feb 5 11:33:15 2010
New Revision: 32285
URL: http://svn.erp5.org?rev=32285&view=rev
Log:
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
Modified:
erp5/trunk/products/ERP5SyncML/Conduit/ERP5Conduit.py
Modified: erp5/trunk/products/ERP5SyncML/Conduit/ERP5Conduit.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5SyncML/Conduit/ERP5Conduit.py?rev=32285&r1=32284&r2=32285&view=diff
==============================================================================
--- erp5/trunk/products/ERP5SyncML/Conduit/ERP5Conduit.py [utf8] (original)
+++ erp5/trunk/products/ERP5SyncML/Conduit/ERP5Conduit.py [utf8] Fri Feb 5 11:33:15 2010
@@ -777,7 +777,7 @@
"""
status = {}
for subnode in xml:
- keyword = subnode.xpath('name()')
+ keyword = str(subnode.xpath('name()'))
value = self.getObjectProperty(keyword, xml)
status[keyword] = value
return status
More information about the Erp5-report
mailing list