From 29466b4d17b3714d64bface23e2d394acc0ec8a0 Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Mon, 23 Nov 2009 13:54:08 +0000 Subject: [PATCH] remove bogus actions whose dialog does not exist. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30812 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../Drawing/download_snapshot.xml | 103 ------------------ .../Presentation/download_snapshot.xml | 103 ------------------ .../Spreadsheet/download_snapshot.xml | 103 ------------------ .../portal_types/Text/download_snapshot.xml | 103 ------------------ bt5/erp5_dms/bt/revision | 2 +- bt5/erp5_dms/bt/template_action_path_list | 4 - 6 files changed, 1 insertion(+), 417 deletions(-) delete mode 100644 bt5/erp5_dms/ActionTemplateItem/portal_types/Drawing/download_snapshot.xml delete mode 100644 bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/download_snapshot.xml delete mode 100644 bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/download_snapshot.xml delete mode 100644 bt5/erp5_dms/ActionTemplateItem/portal_types/Text/download_snapshot.xml diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/Drawing/download_snapshot.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/Drawing/download_snapshot.xml deleted file mode 100644 index 736a026be7..0000000000 --- a/bt5/erp5_dms/ActionTemplateItem/portal_types/Drawing/download_snapshot.xml +++ /dev/null @@ -1,103 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>action</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>categories</string> </key> - <value> - <tuple> - <string>action_type/object_exchange</string> - </tuple> - </value> - </item> - <item> - <key> <string>category</string> </key> - <value> <string>object_exchange</string> </value> - </item> - <item> - <key> <string>condition</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> - </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>icon</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>download_snapshot</string> </value> - </item> - <item> - <key> <string>permissions</string> </key> - <value> - <tuple> - <string>View</string> - </tuple> - </value> - </item> - <item> - <key> <string>priority</string> </key> - <value> <float>30.0</float> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Download Snapshot</string> </value> - </item> - <item> - <key> <string>visible</string> </key> - <value> <int>1</int> </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="Expression" module="Products.CMFCore.Expression"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>text</string> </key> - <value> <string>string:${object_url}/OOoDocument_viewSnapshotDialog</string> </value> - </item> - </dictionary> - </pickle> - </record> - <record id="3" aka="AAAAAAAAAAM="> - <pickle> - <tuple> - <global name="Expression" module="Products.CMFCore.Expression"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>text</string> </key> - <value> <string>python:object.hasSnapshotData()</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/download_snapshot.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/download_snapshot.xml deleted file mode 100644 index 7696053cdf..0000000000 --- a/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/download_snapshot.xml +++ /dev/null @@ -1,103 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>action</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>categories</string> </key> - <value> - <tuple> - <string>action_type/object_action</string> - </tuple> - </value> - </item> - <item> - <key> <string>category</string> </key> - <value> <string>object_action</string> </value> - </item> - <item> - <key> <string>condition</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> - </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>icon</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>download_snapshot</string> </value> - </item> - <item> - <key> <string>permissions</string> </key> - <value> - <tuple> - <string>View</string> - </tuple> - </value> - </item> - <item> - <key> <string>priority</string> </key> - <value> <float>30.0</float> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Download Snapshot</string> </value> - </item> - <item> - <key> <string>visible</string> </key> - <value> <int>1</int> </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="Expression" module="Products.CMFCore.Expression"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>text</string> </key> - <value> <string>string:${object_url}/OOoDocument_viewSnapshotDialog</string> </value> - </item> - </dictionary> - </pickle> - </record> - <record id="3" aka="AAAAAAAAAAM="> - <pickle> - <tuple> - <global name="Expression" module="Products.CMFCore.Expression"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>text</string> </key> - <value> <string>python:object.hasSnapshotData()</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/download_snapshot.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/download_snapshot.xml deleted file mode 100644 index 736a026be7..0000000000 --- a/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/download_snapshot.xml +++ /dev/null @@ -1,103 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>action</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>categories</string> </key> - <value> - <tuple> - <string>action_type/object_exchange</string> - </tuple> - </value> - </item> - <item> - <key> <string>category</string> </key> - <value> <string>object_exchange</string> </value> - </item> - <item> - <key> <string>condition</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> - </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>icon</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>download_snapshot</string> </value> - </item> - <item> - <key> <string>permissions</string> </key> - <value> - <tuple> - <string>View</string> - </tuple> - </value> - </item> - <item> - <key> <string>priority</string> </key> - <value> <float>30.0</float> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Download Snapshot</string> </value> - </item> - <item> - <key> <string>visible</string> </key> - <value> <int>1</int> </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="Expression" module="Products.CMFCore.Expression"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>text</string> </key> - <value> <string>string:${object_url}/OOoDocument_viewSnapshotDialog</string> </value> - </item> - </dictionary> - </pickle> - </record> - <record id="3" aka="AAAAAAAAAAM="> - <pickle> - <tuple> - <global name="Expression" module="Products.CMFCore.Expression"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>text</string> </key> - <value> <string>python:object.hasSnapshotData()</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/download_snapshot.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/download_snapshot.xml deleted file mode 100644 index 736a026be7..0000000000 --- a/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/download_snapshot.xml +++ /dev/null @@ -1,103 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>action</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>categories</string> </key> - <value> - <tuple> - <string>action_type/object_exchange</string> - </tuple> - </value> - </item> - <item> - <key> <string>category</string> </key> - <value> <string>object_exchange</string> </value> - </item> - <item> - <key> <string>condition</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> - </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>icon</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>download_snapshot</string> </value> - </item> - <item> - <key> <string>permissions</string> </key> - <value> - <tuple> - <string>View</string> - </tuple> - </value> - </item> - <item> - <key> <string>priority</string> </key> - <value> <float>30.0</float> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Download Snapshot</string> </value> - </item> - <item> - <key> <string>visible</string> </key> - <value> <int>1</int> </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="Expression" module="Products.CMFCore.Expression"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>text</string> </key> - <value> <string>string:${object_url}/OOoDocument_viewSnapshotDialog</string> </value> - </item> - </dictionary> - </pickle> - </record> - <record id="3" aka="AAAAAAAAAAM="> - <pickle> - <tuple> - <global name="Expression" module="Products.CMFCore.Expression"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>text</string> </key> - <value> <string>python:object.hasSnapshotData()</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_dms/bt/revision b/bt5/erp5_dms/bt/revision index ffef16936c..a47db8f483 100644 --- a/bt5/erp5_dms/bt/revision +++ b/bt5/erp5_dms/bt/revision @@ -1 +1 @@ -1047 \ No newline at end of file +1048 \ No newline at end of file diff --git a/bt5/erp5_dms/bt/template_action_path_list b/bt5/erp5_dms/bt/template_action_path_list index 56ed002865..d897853e1a 100644 --- a/bt5/erp5_dms/bt/template_action_path_list +++ b/bt5/erp5_dms/bt/template_action_path_list @@ -11,7 +11,6 @@ Drawing | convert Drawing | create_snapshot Drawing | download Drawing | download_ooo -Drawing | download_snapshot Drawing | export Drawing | file_upload Drawing | html_view @@ -71,7 +70,6 @@ Presentation | convert Presentation | create_snapshot Presentation | download Presentation | download_ooo -Presentation | download_snapshot Presentation | export Presentation | file_upload Presentation | html_view @@ -94,7 +92,6 @@ Spreadsheet | convert Spreadsheet | create_snapshot Spreadsheet | download Spreadsheet | download_ooo -Spreadsheet | download_snapshot Spreadsheet | export Spreadsheet | file_upload Spreadsheet | html_view @@ -114,7 +111,6 @@ System Preference | dms_preference Text | create_snapshot Text | download Text | download_ooo -Text | download_snapshot Text | export Text | file_upload Text | html_view -- 2.30.9