From 13dbb7d7d6ad1ffa63d3f0ae447afbc234b9dec2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois-Xavier=20Algrain?= <fxalgrain@tiolive.com> Date: Mon, 16 May 2011 13:52:17 +0000 Subject: [PATCH] Clean up after clone git-svn-id: https://svn.erp5.org/repos/experimental@2121 bc57dcba-3610-0410-ab4f-dc20bb96b918 --- .../ShortMessage_afterClone.xml | 69 +++++++++++++++++++ bt5/erp5_short_message/bt/revision | 2 +- 2 files changed, 70 insertions(+), 1 deletion(-) create mode 100644 bt5/erp5_short_message/SkinTemplateItem/portal_skins/erp5_short_message/ShortMessage_afterClone.xml diff --git a/bt5/erp5_short_message/SkinTemplateItem/portal_skins/erp5_short_message/ShortMessage_afterClone.xml b/bt5/erp5_short_message/SkinTemplateItem/portal_skins/erp5_short_message/ShortMessage_afterClone.xml new file mode 100644 index 0000000000..d9a978a658 --- /dev/null +++ b/bt5/erp5_short_message/SkinTemplateItem/portal_skins/erp5_short_message/ShortMessage_afterClone.xml @@ -0,0 +1,69 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>Script_magic</string> </key> + <value> <int>3</int> </value> + </item> + <item> + <key> <string>_bind_names</string> </key> + <value> + <object> + <klass> + <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_asgns</string> </key> + <value> + <dictionary> + <item> + <key> <string>name_container</string> </key> + <value> <string>container</string> </value> + </item> + <item> + <key> <string>name_context</string> </key> + <value> <string>context</string> </value> + </item> + <item> + <key> <string>name_m_self</string> </key> + <value> <string>script</string> </value> + </item> + <item> + <key> <string>name_subpath</string> </key> + <value> <string>traverse_subpath</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_body</string> </key> + <value> <string>"""Clean gateway and destination reference"""\n +context.setGateway(None)\n +context.setDestinationReference(None)\n +</string> </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>ShortMessage_afterClone</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_short_message/bt/revision b/bt5/erp5_short_message/bt/revision index 9d607966b7..3cacc0b93c 100644 --- a/bt5/erp5_short_message/bt/revision +++ b/bt5/erp5_short_message/bt/revision @@ -1 +1 @@ -11 \ No newline at end of file +12 \ No newline at end of file -- 2.30.9