From a5dd46b8e7580f74a6d31c35ccc07352c5360b20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20G=C3=B3rny?= <bartek@gorny.edu.pl> Date: Wed, 13 Jun 2007 11:58:42 +0000 Subject: [PATCH] Remove redundant arg from kw (otherwise no workflow transition can be executed on a contributed object) git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14808 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../portal_skins/erp5_dms/ContributionTool_newContent.xml | 3 +++ bt5/erp5_dms/bt/revision | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/ContributionTool_newContent.xml b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/ContributionTool_newContent.xml index 1834b1bbcd..54b99f0fbd 100644 --- a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/ContributionTool_newContent.xml +++ b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/ContributionTool_newContent.xml @@ -79,6 +79,9 @@ translateString = context.Base_translateString\n # clean up kw from file field otherwise \n # ZODB raises an exception when committing transaction\n kw.pop(\'field_your_file\', None)\n +# remove Base_callDialogMethod arg, otherwise it is set on context\n +# and then we can\'t execute any workflow transition\n +kw.pop(\'Base_callDialogMethod\', None)\n \n if kw[\'portal_type\'] == \'\':\n # we don\'t want to set portal_type to \'\' :)\n diff --git a/bt5/erp5_dms/bt/revision b/bt5/erp5_dms/bt/revision index f874bfc9fc..7383593264 100644 --- a/bt5/erp5_dms/bt/revision +++ b/bt5/erp5_dms/bt/revision @@ -1 +1 @@ -651 \ No newline at end of file +652 \ No newline at end of file -- 2.30.9