diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/listbox_zuite/testDelete.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/listbox_zuite/testDelete.xml index 6eac9bbf9c199d5e749004cef2de756b8f054c21..20333ce7dda258877788fd58c190a1284948030a 100644 --- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/listbox_zuite/testDelete.xml +++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/listbox_zuite/testDelete.xml @@ -135,7 +135,16 @@ \t<td>id=listbox_data_line_3</td>\n \t<td></td>\n </tr>\n -\n +<tr>\n +\t<td>open</td>\n +\t<td>${base_url}/foo_module/0/getSimulationState</td>\n +\t<td></td>\n +</tr>\n +<tr>\n +\t<td>assertTextPresent</td>\n +\t<td>deleted</td>\n +\t<td></td>\n +</tr>\n </tbody></table>\n </body>\n </html>\n diff --git a/bt5/erp5_ui_test/WorkflowTemplateItem/portal_workflow/foo_workflow/states/deleted.xml b/bt5/erp5_ui_test/WorkflowTemplateItem/portal_workflow/foo_workflow/states/deleted.xml new file mode 100644 index 0000000000000000000000000000000000000000..ec3e3921c20b65a8ed7fc6f9c6764166e7802e4f --- /dev/null +++ b/bt5/erp5_ui_test/WorkflowTemplateItem/portal_workflow/foo_workflow/states/deleted.xml @@ -0,0 +1,28 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.DCWorkflow.States</string> + <string>StateDefinition</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>deleted</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_ui_test/WorkflowTemplateItem/portal_workflow/foo_workflow/states/draft.xml b/bt5/erp5_ui_test/WorkflowTemplateItem/portal_workflow/foo_workflow/states/draft.xml index e910deba0e6f17fb7e33eb39ec80d09067085258..bffb0ac2edabd72d740c03a1ea2af292e0caf55a 100644 --- a/bt5/erp5_ui_test/WorkflowTemplateItem/portal_workflow/foo_workflow/states/draft.xml +++ b/bt5/erp5_ui_test/WorkflowTemplateItem/portal_workflow/foo_workflow/states/draft.xml @@ -34,6 +34,8 @@ <key> <string>transitions</string> </key> <value> <tuple> + <string>delete</string> + <string>delete_action</string> <string>dummy_action</string> <string>dummy_failing_action</string> </tuple> diff --git a/bt5/erp5_ui_test/WorkflowTemplateItem/portal_workflow/foo_workflow/transitions/delete.xml b/bt5/erp5_ui_test/WorkflowTemplateItem/portal_workflow/foo_workflow/transitions/delete.xml new file mode 100644 index 0000000000000000000000000000000000000000..2659ed2cfab60b103e50ba08e57de27ab41d5a44 --- /dev/null +++ b/bt5/erp5_ui_test/WorkflowTemplateItem/portal_workflow/foo_workflow/transitions/delete.xml @@ -0,0 +1,70 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.DCWorkflow.Transitions</string> + <string>TransitionDefinition</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>actbox_category</string> </key> + <value> <string>workflow</string> </value> + </item> + <item> + <key> <string>actbox_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>actbox_url</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>after_script_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>guard</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>delete</string> </value> + </item> + <item> + <key> <string>new_state_id</string> </key> + <value> <string>deleted</string> </value> + </item> + <item> + <key> <string>script_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>trigger_type</string> </key> + <value> <int>2</int> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_ui_test/WorkflowTemplateItem/portal_workflow/foo_workflow/transitions/delete_action.xml b/bt5/erp5_ui_test/WorkflowTemplateItem/portal_workflow/foo_workflow/transitions/delete_action.xml new file mode 100644 index 0000000000000000000000000000000000000000..ef98f2d5de1919d6ee7ebbe00dcfbfb3de53442c --- /dev/null +++ b/bt5/erp5_ui_test/WorkflowTemplateItem/portal_workflow/foo_workflow/transitions/delete_action.xml @@ -0,0 +1,70 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.DCWorkflow.Transitions</string> + <string>TransitionDefinition</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>actbox_category</string> </key> + <value> <string>workflow</string> </value> + </item> + <item> + <key> <string>actbox_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>actbox_url</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>after_script_name</string> </key> + <value> <string>delete</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>guard</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>delete_action</string> </value> + </item> + <item> + <key> <string>new_state_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>script_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>trigger_type</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_ui_test/bt/revision b/bt5/erp5_ui_test/bt/revision index 7730ef7f3e0586b9070623baed6032dff904c9ea..69226f7293aa543649b73a6ed3264cddabfcd8c1 100644 --- a/bt5/erp5_ui_test/bt/revision +++ b/bt5/erp5_ui_test/bt/revision @@ -1 +1 @@ -89 \ No newline at end of file +92 \ No newline at end of file diff --git a/bt5/erp5_ui_test/bt/template_portal_type_base_category_list b/bt5/erp5_ui_test/bt/template_portal_type_base_category_list index 17925fa98f5af53f5335c005d997d474e13f6db8..89ebfc72eaf77367dd6af702f7ba71ed053e636a 100644 --- a/bt5/erp5_ui_test/bt/template_portal_type_base_category_list +++ b/bt5/erp5_ui_test/bt/template_portal_type_base_category_list @@ -1 +1,2 @@ +Foo | bar_category Foo | foo_category \ No newline at end of file