Commit fdf81a85 authored by Julien Muchembled's avatar Julien Muchembled

erp5_forge: fix update svn action

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43659 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent cea80e9a
...@@ -50,15 +50,22 @@ ...@@ -50,15 +50,22 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>try:\n <value> <string encoding="cdata"><![CDATA[
try:\n
new_bt = context.getVcsTool().update(keep)\n new_bt = context.getVcsTool().update(keep)\n
except Exception, error:\n except Exception, error:\n
return context.BusinessTemplate_handleException(error, script.id, form_id=form_id, keep=keep)\n return context.BusinessTemplate_handleException(\n
error, script.id, form_id=form_id, keep=keep)\n
\n \n
context.REQUEST.set(\'portal_status_message\', \'Working copy updated successfully.\')\n request = context.REQUEST\n
return new_bt.BusinessTemplate_viewInstallationDialog(\n request.set(\'portal_status_message\', \'Working copy updated successfully.\')\n
workflow_action=\'install_action\', form_id=form_id)\n return request.RESPONSE.redirect(\n
</string> </value> \'%s/BusinessTemplate_viewInstallationDialog?workflow_action=install_action&form_id=%s\'\n
% (new_bt.absolute_url_path(), form_id))\n
]]></string> </value>
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
......
641 642
\ No newline at end of file \ No newline at end of file
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