From 449da75e4e98c806fa267ff7f17adaf31d5b75ca Mon Sep 17 00:00:00 2001 From: "P. Christeas" Date: Thu, 29 Jul 2010 16:39:37 +0300 Subject: [PATCH] Doc Webdav: fix bug with DAV propname namespaces Since the self.PROPS hadn't been copied, subsequent propname requests would try to fetch all the properties of previous ones. bzr revid: p_christ@hol.gr-20100729133937-yyfm1wb33vxh96ew --- addons/document_webdav/dav_fs.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/document_webdav/dav_fs.py b/addons/document_webdav/dav_fs.py index 9b36a7d78dd..2ee305d2e2b 100644 --- a/addons/document_webdav/dav_fs.py +++ b/addons/document_webdav/dav_fs.py @@ -79,6 +79,7 @@ class openerp_dav_handler(dav_interface): return props node = self.uri2object(cr, uid, pool, uri2) if node: + props = props.copy() props.update(node.get_dav_props(cr)) cr.close() return props