From 96663ae06358f9fb543e03e8633be89e74bae2f9 Mon Sep 17 00:00:00 2001 From: Gabriel Monnerat <gabriel@tiolive.com> Date: Wed, 9 Apr 2014 07:32:22 -0700 Subject: [PATCH] erp5_base: Move script Event_send to erp5_core because it can raise exceptions if sendMessage method is called, for example by alarms. Also, proxy role as Manager was removed, because this script does nothing. --- bt5/erp5_base/bt/revision | 2 +- .../portal_skins/erp5_core}/Event_send.xml | 8 -------- product/ERP5/bootstrap/erp5_core/bt/revision | 2 +- 3 files changed, 2 insertions(+), 10 deletions(-) rename {bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base => product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core}/Event_send.xml (92%) diff --git a/bt5/erp5_base/bt/revision b/bt5/erp5_base/bt/revision index 67a2f2abea..2a69845886 100644 --- a/bt5/erp5_base/bt/revision +++ b/bt5/erp5_base/bt/revision @@ -1 +1 @@ -1062 \ No newline at end of file +1063 \ No newline at end of file diff --git a/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Event_send.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Event_send.xml similarity index 92% rename from bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Event_send.xml rename to product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Event_send.xml index 1f5bea537f..05c438c349 100644 --- a/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Event_send.xml +++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Event_send.xml @@ -60,14 +60,6 @@ pass\n <key> <string>_params</string> </key> <value> <string>from_url=None, to_url=None, reply_url=None, subject=None, body=None, attachment_format=None, attachment_list=None, download=None, **kw</string> </value> </item> - <item> - <key> <string>_proxy_roles</string> </key> - <value> - <tuple> - <string>Manager</string> - </tuple> - </value> - </item> <item> <key> <string>id</string> </key> <value> <string>Event_send</string> </value> diff --git a/product/ERP5/bootstrap/erp5_core/bt/revision b/product/ERP5/bootstrap/erp5_core/bt/revision index ffe0891a69..71d3b264e9 100644 --- a/product/ERP5/bootstrap/erp5_core/bt/revision +++ b/product/ERP5/bootstrap/erp5_core/bt/revision @@ -1 +1 @@ -41156 \ No newline at end of file +41157 \ No newline at end of file -- 2.30.9