diff --git a/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/js/dhtmlXCommon.js.xml b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/js/dhtmlXCommon.js.xml index 1835fefc1a367c8e5397888a13fc318659794067..912f5d49dac292f9cc90141324dfc5fd98d96a8c 100644 --- a/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/js/dhtmlXCommon.js.xml +++ b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/js/dhtmlXCommon.js.xml @@ -14,7 +14,7 @@ <dictionary> <item> <key> <string>_EtagSupport__etag</string> </key> - <value> <string>ts45019334.76</string> </value> + <value> <string>ts45021272.14</string> </value> </item> <item> <key> <string>__ac_local_roles__</string> </key> @@ -64,7 +64,7 @@ function dtmlXMLLoaderObject(funcObject,dhtmlObject,async){\n if(this.xmlDoc.responseXML){var temp=this.xmlDoc.responseXML.getElementsByTagName(tagName);var z=temp[0];}\n else var z=this.xmlDoc.documentElement;\n if(z)return z;\n - //alert("There are no differences between your business template and the svn repository.");\n + alert("Error: execute tree.xml to see debug !");\n return document.createElement("DIV");\n };\n \n @@ -398,7 +398,7 @@ Node.prototype.removeNode = function(removeChildren)\n </item> <item> <key> <string>size</string> </key> - <value> <int>10005</int> </value> + <value> <int>9962</int> </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/tree.xml.xml b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/tree.xml.xml index 4223bf3cbf59d45306f9d04209d60e314b595672..57941de8953badcd662f60318b34c8342a940a42 100644 --- a/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/tree.xml.xml +++ b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/tree.xml.xml @@ -66,7 +66,9 @@ </item> <item> <key> <string>_body</string> </key> - <value> <string>context.getPortalObject().portal_subversion.extractBT(context)\n + <value> <string encoding="cdata"><![CDATA[ + +context.getPortalObject().portal_subversion.extractBT(context)\n \n bt_name = context.getPortalObject()["portal_templates"][context.getId()].getTitle()\n context.REQUEST.RESPONSE.setHeader(\'Content-Type\', \'text/xml;; charset=utf-8\')\n @@ -78,9 +80,13 @@ if path[-1] != \'/\':\n path+=bt_name\n root = context.getPortalObject().portal_subversion.getModifiedTree(path)\n if not root:\n - raise "Erreur: couldn\'t get tree of modified files"\n + return \'\'\'<?xml version=\'1.0\' encoding=\'iso-8859-1\'?>\n +<tree id=\'0\'></tree>\'\'\'\n +\n return context.getPortalObject().portal_subversion.treeToXML(root).strip()\n -</string> </value> + + +]]></string> </value> </item> <item> <key> <string>_code</string> </key>