diff --git a/bt5/erp5_upgrader/PathTemplateItem/portal_alarms/bt5_upgrader.xml b/bt5/erp5_upgrader/PathTemplateItem/portal_alarms/bt5_upgrader.xml index 1235406b5bd9680db89acfd5e883e5974e5d0ae0..92705047f817a4b5d0a4669f0d9dc1a1aeede09a 100644 --- a/bt5/erp5_upgrader/PathTemplateItem/portal_alarms/bt5_upgrader.xml +++ b/bt5/erp5_upgrader/PathTemplateItem/portal_alarms/bt5_upgrader.xml @@ -2,7 +2,7 @@ <ZopeData> <record id="1" aka="AAAAAAAAAAE="> <pickle> - <global name="Alarm" module="erp5.portal_type"/> + <global name="Alarm" module="Products.ERP5Type.Document.Alarm"/> </pickle> <pickle> <dictionary> diff --git a/bt5/erp5_upgrader/PathTemplateItem/portal_alarms/finalize_upgrader.xml b/bt5/erp5_upgrader/PathTemplateItem/portal_alarms/finalize_upgrader.xml index 9a8fb03b7d52d011e07c0a408c591797f63c5473..ff3642fd673cc1019769b483ce36fb6458359791 100644 --- a/bt5/erp5_upgrader/PathTemplateItem/portal_alarms/finalize_upgrader.xml +++ b/bt5/erp5_upgrader/PathTemplateItem/portal_alarms/finalize_upgrader.xml @@ -2,7 +2,7 @@ <ZopeData> <record id="1" aka="AAAAAAAAAAE="> <pickle> - <global name="Alarm" module="erp5.portal_type"/> + <global name="Alarm" module="Products.ERP5Type.Document.Alarm"/> </pickle> <pickle> <dictionary> diff --git a/bt5/erp5_upgrader/PathTemplateItem/portal_alarms/product_upgrader.xml b/bt5/erp5_upgrader/PathTemplateItem/portal_alarms/product_upgrader.xml index 145710be890cb78c63514d3d8f22f4a500b8ec46..6feeb776fcf55c51ab7a70cc2fa7098c151bf025 100644 --- a/bt5/erp5_upgrader/PathTemplateItem/portal_alarms/product_upgrader.xml +++ b/bt5/erp5_upgrader/PathTemplateItem/portal_alarms/product_upgrader.xml @@ -2,7 +2,7 @@ <ZopeData> <record id="1" aka="AAAAAAAAAAE="> <pickle> - <global name="Alarm" module="erp5.portal_type"/> + <global name="Alarm" module="Products.ERP5Type.Document.Alarm"/> </pickle> <pickle> <dictionary> diff --git a/bt5/erp5_upgrader/PathTemplateItem/portal_alarms/system_upgrader.xml b/bt5/erp5_upgrader/PathTemplateItem/portal_alarms/system_upgrader.xml index 794ec7e91ac6f886a8aa25bfcb1f3bda902b0c06..aae5af3d05e319c035da34263704106971c450ec 100644 --- a/bt5/erp5_upgrader/PathTemplateItem/portal_alarms/system_upgrader.xml +++ b/bt5/erp5_upgrader/PathTemplateItem/portal_alarms/system_upgrader.xml @@ -2,7 +2,7 @@ <ZopeData> <record id="1" aka="AAAAAAAAAAE="> <pickle> - <global name="Alarm" module="erp5.portal_type"/> + <global name="Alarm" module="Products.ERP5Type.Document.Alarm"/> </pickle> <pickle> <dictionary> diff --git a/bt5/erp5_upgrader/PathTemplateItem/portal_alarms/upgrader_controller.xml b/bt5/erp5_upgrader/PathTemplateItem/portal_alarms/upgrader_controller.xml index ae2f2f64ee2de200456de99083aa6d666b94aa43..12f42d8ac3d76546e20fd71255da2f431fbf5b20 100644 --- a/bt5/erp5_upgrader/PathTemplateItem/portal_alarms/upgrader_controller.xml +++ b/bt5/erp5_upgrader/PathTemplateItem/portal_alarms/upgrader_controller.xml @@ -2,7 +2,7 @@ <ZopeData> <record id="1" aka="AAAAAAAAAAE="> <pickle> - <global name="Alarm" module="erp5.portal_type"/> + <global name="Alarm" module="Products.ERP5Type.Document.Alarm"/> </pickle> <pickle> <dictionary> diff --git a/bt5/erp5_upgrader/PathTemplateItem/portal_workflow/business_template_installation_workflow/scripts/BusinessTemplate_install.xml b/bt5/erp5_upgrader/PathTemplateItem/portal_workflow/business_template_installation_workflow/scripts/BusinessTemplate_install.xml index 00c2481d19e80cd755d876eddd1b334a16898001..2f5d25990185b68a744d728967169076ce72b62f 100644 --- a/bt5/erp5_upgrader/PathTemplateItem/portal_workflow/business_template_installation_workflow/scripts/BusinessTemplate_install.xml +++ b/bt5/erp5_upgrader/PathTemplateItem/portal_workflow/business_template_installation_workflow/scripts/BusinessTemplate_install.xml @@ -78,14 +78,78 @@ elif workflow_action == \'reinstall_action\':\n ]]></string> </value> </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_params</string> </key> <value> <string>state_change</string> </value> </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>state_change</string> + <string>_getitem_</string> + <string>business_template</string> + <string>_getattr_</string> + <string>listbox</string> + <string>update_catalog</string> + <string>update_translation</string> + <string>workflow_action</string> + <string>object_to_update</string> + <string>None</string> + <string>len</string> + <string>_getiter_</string> + <string>item</string> + <string>_write_</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>BusinessTemplate_install</string> </value> </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ActivityTool_showMessageQueueTableColumns.xml b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ActivityTool_showMessageQueueTableColumns.xml index 83f8ab1fb9ee5403be844f9f1cbf77afe975778c..ea3799f2758d3afff77bcb106f3e56ab4e6dffe2 100644 --- a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ActivityTool_showMessageQueueTableColumns.xml +++ b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ActivityTool_showMessageQueueTableColumns.xml @@ -6,6 +6,33 @@ </pickle> <pickle> <dictionary> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> <item> <key> <string>_col</string> </key> <value> @@ -137,6 +164,47 @@ <key> <string>src</string> </key> <value> <string>show columns from message_queue</string> </value> </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="__newobj__" module="copy_reg"/> + </klass> + <tuple> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </tuple> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string>show columns from message_queue</string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> <item> <key> <string>title</string> </key> <value> <string></string> </value> diff --git a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ActivityTool_upgradeMessageQueueTable.xml b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ActivityTool_upgradeMessageQueueTable.xml index f25f298c4d428aa1ed384482b8d0e23d8282fe52..b9c090aefd799d33b1481cea46f1ed3a3037ab0e 100644 --- a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ActivityTool_upgradeMessageQueueTable.xml +++ b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ActivityTool_upgradeMessageQueueTable.xml @@ -6,6 +6,33 @@ </pickle> <pickle> <dictionary> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> <item> <key> <string>arguments_src</string> </key> <value> <string></string> </value> @@ -22,6 +49,47 @@ <key> <string>src</string> </key> <value> <string>alter table message_queue add column `group_method_id` VARCHAR(255) NOT NULL DEFAULT \'\' AFTER `priority`</string> </value> </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="__newobj__" module="copy_reg"/> + </klass> + <tuple> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </tuple> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string>alter table message_queue add column `group_method_id` VARCHAR(255) NOT NULL DEFAULT \'\' AFTER `priority`</string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> <item> <key> <string>title</string> </key> <value> <string></string> </value> diff --git a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Alarm_saveActiveResult.xml b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Alarm_saveActiveResult.xml index 04f7990f76b82440102176ecf48b63bfaabbfccd..6da19c0cd588bf46cb49fcc79c06f8827fc7bdab 100644 --- a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Alarm_saveActiveResult.xml +++ b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Alarm_saveActiveResult.xml @@ -61,14 +61,76 @@ active_result.edit(summary=summary, severity=severity, detail=detail)\n return active_result\n </string> </value> </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_params</string> </key> <value> <string>summary, severity=0, detail=\'\'</string> </value> </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>3</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>summary</string> + <string>severity</string> + <string>detail</string> + <string>Products.ERP5Type.Log</string> + <string>log</string> + <string>Products.CMFActivity.ActiveResult</string> + <string>ActiveResult</string> + <string>active_result</string> + <string>_getattr_</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <tuple> + <int>0</int> + <string></string> + </tuple> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>Alarm_saveActiveResult</string> </value> </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Alarm_senseBT5Version.xml b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Alarm_senseBT5Version.xml index 2b6222ce5d8482e444fb6314e7f2a41fb2d439ec..ce85c75474f18e9bcc96b60fbc523a43a85b8e29 100644 --- a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Alarm_senseBT5Version.xml +++ b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Alarm_senseBT5Version.xml @@ -86,14 +86,70 @@ return False\n ]]></string> </value> </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_params</string> </key> <value> <string>**kw</string> </value> </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>kw</string> + <string>_getattr_</string> + <string>context</string> + <string>len</string> + <string>True</string> + <string>False</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>Alarm_senseBT5Version</string> </value> </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Alarm_senseFinalizeUpgrade.xml b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Alarm_senseFinalizeUpgrade.xml index 4121fb55c59ff7683de0b567f61412e051318271..d982a4d24264fc63fec9357bc757214feea52c02 100644 --- a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Alarm_senseFinalizeUpgrade.xml +++ b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Alarm_senseFinalizeUpgrade.xml @@ -104,14 +104,71 @@ return False\n ]]></string> </value> </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_params</string> </key> <value> <string>**kw</string> </value> </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>kw</string> + <string>_getattr_</string> + <string>context</string> + <string>alarm_dict</string> + <string>True</string> + <string>False</string> + <string>len</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>Alarm_senseFinalizeUpgrade</string> </value> </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Alarm_senseProductVersion.xml b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Alarm_senseProductVersion.xml index 42d67b145f5fa3d697e46e80270ec6fdbd564268..76cf79186f79e35862eeac0fdbf665e430c0c074 100644 --- a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Alarm_senseProductVersion.xml +++ b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Alarm_senseProductVersion.xml @@ -65,14 +65,71 @@ return len(context.ERP5Site_upgradeProductPath()) > 0\n ]]></string> </value> </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_params</string> </key> <value> <string>**kw</string> </value> </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>kw</string> + <string>_getattr_</string> + <string>context</string> + <string>alarm_dict</string> + <string>True</string> + <string>False</string> + <string>len</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>Alarm_senseProductVersion</string> </value> </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Alarm_senseSystemVersion.xml b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Alarm_senseSystemVersion.xml index fe9fa99328fbea97f21646e6b70eaf9ac80c5c74..ba0f917fba23c8b3dcd062dc7d9dbc7abd4fe09d 100644 --- a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Alarm_senseSystemVersion.xml +++ b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Alarm_senseSystemVersion.xml @@ -73,14 +73,71 @@ return False\n ]]></string> </value> </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_params</string> </key> <value> <string>**kw</string> </value> </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>kw</string> + <string>_getattr_</string> + <string>context</string> + <string>alarm_dict</string> + <string>True</string> + <string>False</string> + <string>len</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>Alarm_senseSystemVersion</string> </value> </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Alarm_senseUpgradeNeed.xml b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Alarm_senseUpgradeNeed.xml index a771a16835578ec21b40426380334d9044ab329f..44471b57232f7fb2441f7034ff69fed01e15cff6 100644 --- a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Alarm_senseUpgradeNeed.xml +++ b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Alarm_senseUpgradeNeed.xml @@ -146,14 +146,80 @@ return\n ]]></string> </value> </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_params</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>getattr</string> + <string>context</string> + <string>None</string> + <string>before_script</string> + <string>_getattr_</string> + <string>portal_alarms</string> + <string>activate</string> + <string>previous_tag</string> + <string>active_process</string> + <string>DateTime</string> + <string>launchUpgraderAlarm</string> + <string>previous_method_id</string> + <string>_getiter_</string> + <string>alarm_id</string> + <string>upgrader_alarm</string> + <string>False</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>Alarm_senseUpgradeNeed</string> </value> </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Alarm_upgradeBT5Version.xml b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Alarm_upgradeBT5Version.xml index bed29999ce3287cba97544c34a7c00b5ff280df9..b7fa4549e6c032622ba634cacf5e1d3406e49e6f 100644 --- a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Alarm_upgradeBT5Version.xml +++ b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Alarm_upgradeBT5Version.xml @@ -97,14 +97,77 @@ activate(active_process=active_process,\n return message_list\n </string> </value> </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_params</string> </key> <value> <string>**kw</string> </value> </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>kw</string> + <string>_getattr_</string> + <string>context</string> + <string>alarm_dict</string> + <string>True</string> + <string>False</string> + <string>portal_alarms</string> + <string>activate</string> + <string>active_process</string> + <string>None</string> + <string>message_list</string> + <string>system_upgrader_sense</string> + <string>product_upgrader_sense</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>Alarm_upgradeBT5Version</string> </value> </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Alarm_upgradeFinalize.xml b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Alarm_upgradeFinalize.xml index f1e1b473f06ac39bfe3cafc452d78dd1d9b09cfe..cc6b17612aba41f3a227c5707199281957d7126e 100644 --- a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Alarm_upgradeFinalize.xml +++ b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Alarm_upgradeFinalize.xml @@ -128,14 +128,79 @@ return message_list\n ]]></string> </value> </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_params</string> </key> <value> <string>**kw</string> </value> </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>kw</string> + <string>_getattr_</string> + <string>context</string> + <string>dict</string> + <string>clear_cache_kw</string> + <string>portal_alarms</string> + <string>activate</string> + <string>active_process</string> + <string>None</string> + <string>message_list</string> + <string>bt5_upgrader_sense</string> + <string>len</string> + <string>_write_</string> + <string>_apply_</string> + <string>_getitem_</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>Alarm_upgradeFinalize</string> </value> </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Alarm_upgradeProductVersion.xml b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Alarm_upgradeProductVersion.xml index e9b79d4084adfe039cfdf5a6de410406c6ce2f16..6e230789ddc9368a58c5eab2d37e364fab321bd7 100644 --- a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Alarm_upgradeProductVersion.xml +++ b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Alarm_upgradeProductVersion.xml @@ -98,14 +98,73 @@ return message_list\n ]]></string> </value> </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_params</string> </key> <value> <string>**kw</string> </value> </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>kw</string> + <string>_getattr_</string> + <string>context</string> + <string>portal_alarms</string> + <string>activate</string> + <string>active_process</string> + <string>None</string> + <string>message_list</string> + <string>len</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>Alarm_upgradeProductVersion</string> </value> </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Alarm_upgradeSystemVersion.xml b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Alarm_upgradeSystemVersion.xml index 6b351471badd3ccde8236329a6e85a8363383634..b37dce5cf703f21631494ac66911274c7fd14373 100644 --- a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Alarm_upgradeSystemVersion.xml +++ b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Alarm_upgradeSystemVersion.xml @@ -80,14 +80,71 @@ activate(active_process=active_process,\n return message_list\n </string> </value> </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_params</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>_getattr_</string> + <string>context</string> + <string>portal_alarms</string> + <string>activate</string> + <string>active_process</string> + <string>None</string> + <string>message_list</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>Alarm_upgradeSystemVersion</string> </value> </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_beforeUpgradeProductPath.xml b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_beforeUpgradeProductPath.xml index 67dc9378071fc0a41976a6631986ad0262d928ed..d56899e969cf6a29b728147a9890973b4de727ac 100644 --- a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_beforeUpgradeProductPath.xml +++ b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_beforeUpgradeProductPath.xml @@ -58,14 +58,72 @@ if \'group_method_id\' not in column_list:\n context.portal_activities.ActivityTool_upgradeMessageQueueTable()\n </string> </value> </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_params</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>append</string> + <string>$append0</string> + <string>_getiter_</string> + <string>_getattr_</string> + <string>context</string> + <string>i</string> + <string>_getitem_</string> + <string>column_list</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>ERP5Site_beforeUpgradeProductPath</string> </value> </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_getBusinessTemplateVersion.xml b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_getBusinessTemplateVersion.xml index bf7ecb3badcd34f8856181f6406566ecefbd7b54..aeb7737d892bc18532b3142737f77e30dc4df0e8 100644 --- a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_getBusinessTemplateVersion.xml +++ b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_getBusinessTemplateVersion.xml @@ -60,10 +60,58 @@ bt5 = context.getPortalObject().portal_templates.getInstalledBusinessTemplate("e return str(bt5.getVersion())\n </string> </value> </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_params</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>_getattr_</string> + <string>context</string> + <string>bt5</string> + <string>str</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>ERP5Site_getBusinessTemplateVersion</string> </value> @@ -72,6 +120,12 @@ return str(bt5.getVersion())\n <key> <string>title</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_getUpgradeCatalogCharsetSQL.xml b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_getUpgradeCatalogCharsetSQL.xml index 92fc80014eaa19158671b985cd1a1828ce029c73..bade8a3f7805961c33f4e73dec8f36b2c4a203b8 100644 --- a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_getUpgradeCatalogCharsetSQL.xml +++ b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_getUpgradeCatalogCharsetSQL.xml @@ -78,14 +78,78 @@ for table_set in table_set_list:\n return \'\\n\'.join(sql_list)\n </string> </value> </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_params</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>_getitem_</string> + <string>_getattr_</string> + <string>context</string> + <string>database</string> + <string>database_name</string> + <string>alter_table_str</string> + <string>alter_database_str</string> + <string>default_encode</string> + <string>sql_list</string> + <string>database_set_list</string> + <string>table_set_list</string> + <string>_getiter_</string> + <string>data_set</string> + <string>table_set</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>ERP5Site_getUpgradeCatalogCharsetSQL</string> </value> </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_getUpgraderSignature.xml b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_getUpgraderSignature.xml index 3ba3a033e611a6ffee7ea74863fc6542c88534b1..91b622ca6f1643854115081eb8d3e54f6058e3c5 100644 --- a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_getUpgraderSignature.xml +++ b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_getUpgraderSignature.xml @@ -602,14 +602,95 @@ else:\n ]]></string> </value> </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_params</string> </key> <value> <string>item=None</string> </value> </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>item</string> + <string>True</string> + <string>ALARM_DICT</string> + <string>DESTINATION_RELEASE</string> + <string>ZOPE_VERSION</string> + <string>PYTHON_VERSION</string> + <string>BT5_URL_BASE_LIST</string> + <string>getattr</string> + <string>context</string> + <string>None</string> + <string>_getattr_</string> + <string>UPGRADABLE_BT5_ID_LIST</string> + <string>REQUIRED_BT5_ID_LIST</string> + <string>UPDATE_CATALOG_BT5_ID_LIST</string> + <string>BEFORE_TRIGGERED_BT5_SCRIPT_ID_DICT</string> + <string>AFTER_TRIGGERED_BT5_SCRIPT_ID_DICT</string> + <string>REINSTALABLE_BT5_ID_LIST</string> + <string>WORKFLOW_CHAIN_DICT</string> + <string>UPDATE_ROLE_PORTAL_TYPE_LIST</string> + <string>PORTAL_TYPE_PROPERTY_SHEET_LIST</string> + <string>KEEP_ORIGINAL_DICT</string> + <string>VALIDATION_DICT</string> + <string>CATALOG_FILTER_DICT</string> + <string>INTEGRITY_VERIFICATION_SCRIPT_ID_LIST</string> + <string>ERP5_SITE_PROPERTY_DICT</string> + <string>ALARM_TOOL_CONFIGURATION_LIST</string> + <string>UPGRADE_OBJECT_CLASS_LIST</string> + <string>RECATALOG</string> + <string>signature_dict</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <tuple> + <none/> + </tuple> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>ERP5Site_getUpgraderSignature</string> </value> </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_notifyUpgradeIntegrity.xml b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_notifyUpgradeIntegrity.xml index f076fbb7b3c752095c7a519925860ba075746ee7..7718c4692dbd5ad42e4306408c7545d89bafa8e1 100644 --- a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_notifyUpgradeIntegrity.xml +++ b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_notifyUpgradeIntegrity.xml @@ -119,14 +119,84 @@ return ["Notification is sent!"]\n ]]></string> </value> </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_params</string> </key> <value> <string>erp5_uid=None, active_process=None</string> </value> </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>2</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>erp5_uid</string> + <string>active_process</string> + <string>_getattr_</string> + <string>context</string> + <string>result</string> + <string>None</string> + <string>getattr</string> + <string>body</string> + <string>status</string> + <string>len</string> + <string>_inplacevar_</string> + <string>process</string> + <string>_getiter_</string> + <string>active_result</string> + <string>subject</string> + <string>kw</string> + <string>False</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <tuple> + <none/> + <none/> + </tuple> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>ERP5Site_notifyUpgradeIntegrity</string> </value> </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_setupUpgraderSkinSelection.xml b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_setupUpgraderSkinSelection.xml index c6dfeec62c99ff314bc9f671793714ba64f8390d..27c4bb5ea9b00914a79991740b576794491aaef6 100644 --- a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_setupUpgraderSkinSelection.xml +++ b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_setupUpgraderSkinSelection.xml @@ -60,14 +60,65 @@ return True\n </string> </value> </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_params</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>True</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>ERP5Site_setupUpgraderSkinSelection</string> </value> </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_testUpgradeObjectClass.xml b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_testUpgradeObjectClass.xml index a50ccc2cf70cdaf114e2514bf55ce7dab21cff9c..83e815d67ba2fdcf3f7a5e7086deb8e317363cb1 100644 --- a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_testUpgradeObjectClass.xml +++ b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_testUpgradeObjectClass.xml @@ -56,14 +56,66 @@ return [ (upgrade_object.getRelativeUrl(), upgrade_object.getMetaType()) ]\n </string> </value> </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_params</string> </key> <value> <string>upgrade_object</string> </value> </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>upgrade_object</string> + <string>_getattr_</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>ERP5Site_testUpgradeObjectClass</string> </value> </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_updateSitePropertyForTestOnly.xml b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_updateSitePropertyForTestOnly.xml index 5fefa96ea8f4ae676618b482d7218d6572f3cbda..40f95bd6cc60eed0ff8f96036552c4f2d8d69a42 100644 --- a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_updateSitePropertyForTestOnly.xml +++ b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_updateSitePropertyForTestOnly.xml @@ -54,14 +54,67 @@ portal.manage_addProperty(\'custom_property_without_meaning\', \'I was there\', \'string\')\n </string> </value> </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_params</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>_getattr_</string> + <string>context</string> + <string>portal</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>ERP5Site_updateSitePropertyForTestOnly</string> </value> </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeAlarmToolConfiguration.xml b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeAlarmToolConfiguration.xml index 8f3aa7f2057704f4b348223295d2d6c65620e8bc..637156783f1ad213253d8d58fc8d07ed6ec33ad5 100644 --- a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeAlarmToolConfiguration.xml +++ b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeAlarmToolConfiguration.xml @@ -71,14 +71,80 @@ for alarm_id, is_enabled in alarm_tool_configuration_list: \n return message_list\n </string> </value> </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_params</string> </key> <value> <string>upgrade=0</string> </value> </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>upgrade</string> + <string>message_list</string> + <string>_getattr_</string> + <string>context</string> + <string>portal_alarms</string> + <string>alarm_tool_configuration_list</string> + <string>None</string> + <string>_getiter_</string> + <string>alarm_id</string> + <string>is_enabled</string> + <string>getattr</string> + <string>obj</string> + <string>int</string> + <string>message</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <tuple> + <int>0</int> + </tuple> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>ERP5Site_upgradeAlarmToolConfiguration</string> </value> </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeBusinessTemplateList.xml b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeBusinessTemplateList.xml index fccdce4bb54a8734daadc9e1e324a177091e29e3..11743f3f42e4e24a689926fb2f05615e847ecb16 100644 --- a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeBusinessTemplateList.xml +++ b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeBusinessTemplateList.xml @@ -172,14 +172,99 @@ message_list.append("Upgrade Executed for Business Configuration using activitie return message_list\n </string> </value> </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_params</string> </key> <value> <string>upgrade=0</string> </value> </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>upgrade</string> + <string>_getattr_</string> + <string>context</string> + <string>portal_templates</string> + <string>signature</string> + <string>_getitem_</string> + <string>release</string> + <string>False</string> + <string>is_upgradable</string> + <string>message_list</string> + <string>template_version</string> + <string>True</string> + <string>None</string> + <string>previous_bt5_id</string> + <string>bt5_counter</string> + <string>required_bt5_id_list</string> + <string>upgradable_bt5_id_list</string> + <string>reinstalable_bt5_id_list</string> + <string>before_triggered_bt5_id_dict</string> + <string>after_triggered_bt5_id_dict</string> + <string>update_catalog_bt5_id_list</string> + <string>base_url_list</string> + <string>append</string> + <string>$append0</string> + <string>_getiter_</string> + <string>o</string> + <string>installed_bt5_title_list</string> + <string>installBT5</string> + <string>reinstallBT5</string> + <string>previous_bt5</string> + <string>bt</string> + <string>_inplacevar_</string> + <string>bt_id</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <tuple> + <int>0</int> + </tuple> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>ERP5Site_upgradeBusinessTemplateList</string> </value> </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeData.xml b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeData.xml index 98eded7db058dc55df047edb9bb6624af15882c4..f86983dd035599778ae8a75056655ec2724f9264 100644 --- a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeData.xml +++ b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeData.xml @@ -61,14 +61,67 @@ return []\n </string> </value> </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_params</string> </key> <value> <string>upgrade=[]</string> </value> </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>upgrade</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <tuple> + <list/> + </tuple> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>ERP5Site_upgradeData</string> </value> </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeGlobalPropertyList.xml b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeGlobalPropertyList.xml index e4ddcfe321a02d4e606b0dfc8007df10036b3b09..a6e0d8d7a0c67dfb1c3b76a2780b1b417e1a61fd 100644 --- a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeGlobalPropertyList.xml +++ b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeGlobalPropertyList.xml @@ -70,14 +70,78 @@ if is_upgrade_required:\n return message_list\n </string> </value> </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_params</string> </key> <value> <string>upgrade=0</string> </value> </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>upgrade</string> + <string>_getattr_</string> + <string>context</string> + <string>portal</string> + <string>message_list</string> + <string>is_upgrade_required</string> + <string>site_property_dict</string> + <string>_getiter_</string> + <string>prop</string> + <string>_getitem_</string> + <string>getattr</string> + <string>None</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <tuple> + <int>0</int> + </tuple> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>ERP5Site_upgradeGlobalPropertyList</string> </value> </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeObjectClass.xml b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeObjectClass.xml index ac5b57062a50731655001f2f36476212b4daf021..8e69093e83f09e6c4f659f33fea3f6557251830a 100644 --- a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeObjectClass.xml +++ b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeObjectClass.xml @@ -75,14 +75,85 @@ for object_class in class_signature_list:\n return message_list\n </string> </value> </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_params</string> </key> <value> <string>upgrade=0</string> </value> </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>upgrade</string> + <string>_getattr_</string> + <string>context</string> + <string>class_signature_list</string> + <string>portal</string> + <string>message_list</string> + <string>test_only</string> + <string>_getiter_</string> + <string>object_class</string> + <string>folder</string> + <string>test_before</string> + <string>from_class</string> + <string>to_class</string> + <string>test_after</string> + <string>folder_object</string> + <string>getattr</string> + <string>test_before_method</string> + <string>test_after_method</string> + <string>result</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <tuple> + <int>0</int> + </tuple> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>ERP5Site_upgradeObjectClass</string> </value> </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradePortalTypePropertySheet.xml b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradePortalTypePropertySheet.xml index 18d9f3695e91778baf754c94f45c161d9a462019..74b0dceaa69abbcbff4001d1b759fb38dc18df92 100644 --- a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradePortalTypePropertySheet.xml +++ b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradePortalTypePropertySheet.xml @@ -75,14 +75,78 @@ for expected_property_sheet, portal_type_id_list in portal_type_property_sheet_l return message_list\n </string> </value> </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_params</string> </key> <value> <string>upgrade=0</string> </value> </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>upgrade</string> + <string>message_list</string> + <string>_getattr_</string> + <string>context</string> + <string>portal_type_property_sheet_list</string> + <string>_getiter_</string> + <string>expected_property_sheet</string> + <string>portal_type_id_list</string> + <string>portal_type_list</string> + <string>portal_type_to_fix</string> + <string>pt</string> + <string>property_sheet_list</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <tuple> + <int>0</int> + </tuple> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>ERP5Site_upgradePortalTypePropertySheet</string> </value> </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeProductPath.xml b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeProductPath.xml index d41b9bcc2c9ec003f4d22bad7f217a0b88d1e13f..c86dc21c9c22bfd6d45fdb0b90ffa42e9d47c5a5 100644 --- a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeProductPath.xml +++ b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeProductPath.xml @@ -82,14 +82,72 @@ except:\n return ["Upgraded Product Path List to %s" % (signature["release"])]\n </string> </value> </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_params</string> </key> <value> <string>upgrade=0</string> </value> </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>upgrade</string> + <string>_getattr_</string> + <string>context</string> + <string>signature</string> + <string>_getitem_</string> + <string>product_version</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <tuple> + <int>0</int> + </tuple> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>ERP5Site_upgradeProductPath</string> </value> </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradePythonExecutable.xml b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradePythonExecutable.xml index ac728a027e57985dddc265541b6db99fd20a55df..cb20123473d43fd09e5dca562643f43c039f2ce8 100644 --- a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradePythonExecutable.xml +++ b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradePythonExecutable.xml @@ -72,14 +72,73 @@ context.portal_introspections.setPythonExecutable(new_python_path)\n return ["Upgraded Python Executable python was changed to %s" % (new_python_path)]\n </string> </value> </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_params</string> </key> <value> <string>upgrade=0</string> </value> </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>upgrade</string> + <string>_getitem_</string> + <string>_getattr_</string> + <string>context</string> + <string>python_version</string> + <string>current_python</string> + <string>new_python_path</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <tuple> + <int>0</int> + </tuple> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>ERP5Site_upgradePythonExecutable</string> </value> </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeSQLCatalog.xml b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeSQLCatalog.xml index 902adcb9c99b64c51572f4881d7251cb13c94729..3a4d539240d44f836c0d2d052733708fb9efb049 100644 --- a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeSQLCatalog.xml +++ b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeSQLCatalog.xml @@ -88,14 +88,74 @@ message_list.append("Update Translation Table.")\n return message_list\n </string> </value> </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_params</string> </key> <value> <string>upgrade=0</string> </value> </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>upgrade</string> + <string>_getattr_</string> + <string>context</string> + <string>signature</string> + <string>True</string> + <string>message_list</string> + <string>catalog</string> + <string>tag</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <tuple> + <int>0</int> + </tuple> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>ERP5Site_upgradeSQLCatalog</string> </value> </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeSQLCatalogFilter.xml b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeSQLCatalogFilter.xml index 4b2d8397a746b52be5ee68b161af743791293a5d..17a17b35f6938f140252f78948da84fda97eb619 100644 --- a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeSQLCatalogFilter.xml +++ b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeSQLCatalogFilter.xml @@ -77,14 +77,78 @@ for key in expect_expression_dict:\n return message_list\n </string> </value> </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_params</string> </key> <value> <string>upgrade=0</string> </value> </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>upgrade</string> + <string>message_list</string> + <string>_getattr_</string> + <string>context</string> + <string>catalog</string> + <string>filter_dict</string> + <string>catalog_filter_dict</string> + <string>_getiter_</string> + <string>key</string> + <string>_getitem_</string> + <string>_write_</string> + <string>expect_expression_dict</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <tuple> + <int>0</int> + </tuple> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>ERP5Site_upgradeSQLCatalogFilter</string> </value> </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeSecurity.xml b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeSecurity.xml index b7b7a347bb8003bd2c54b6b02d651c32846794a4..2efff9adc333520686cb5d5f92fc5d7cecc51a55 100644 --- a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeSecurity.xml +++ b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeSecurity.xml @@ -81,14 +81,77 @@ message_list.append(\n return message_list\n </string> </value> </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_params</string> </key> <value> <string>upgrade=0</string> </value> </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>upgrade</string> + <string>message_list</string> + <string>_getattr_</string> + <string>context</string> + <string>portal</string> + <string>portal_type_list</string> + <string>_getiter_</string> + <string>pt</string> + <string>getattr</string> + <string>None</string> + <string>portal_type_document</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <tuple> + <int>0</int> + </tuple> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>ERP5Site_upgradeSecurity</string> </value> </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeSoftwareHome.xml b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeSoftwareHome.xml index 378ad6d7ec1b5b725df1f7099a0517dd8bcf729e..944e42bb36c4600a3ef090547a66c9a7b986609b 100644 --- a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeSoftwareHome.xml +++ b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeSoftwareHome.xml @@ -69,14 +69,72 @@ context.portal_introspections.setSoftwareHome(zope_version)\n return ["Upgrade Sotware home to: %s" % zope_version ]\n </string> </value> </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_params</string> </key> <value> <string>upgrade=0</string> </value> </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>upgrade</string> + <string>_getitem_</string> + <string>_getattr_</string> + <string>context</string> + <string>zope_version</string> + <string>current_zope_version</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <tuple> + <int>0</int> + </tuple> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>ERP5Site_upgradeSoftwareHome</string> </value> </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeValidationStateList.xml b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeValidationStateList.xml index ce60515f0674e87ae89e790861f2426f7b004b39..c7c3208a30ffa689f677d1c232832fc1347b2fe3 100644 --- a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeValidationStateList.xml +++ b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeValidationStateList.xml @@ -89,14 +89,92 @@ for definition in upgradable_list:\n return message_list\n </string> </value> </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_params</string> </key> <value> <string>upgrade=0</string> </value> </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>upgrade</string> + <string>_getattr_</string> + <string>context</string> + <string>portal_templates</string> + <string>signature</string> + <string>_getitem_</string> + <string>validation_dict</string> + <string>release</string> + <string>int</string> + <string>append</string> + <string>$append0</string> + <string>_getiter_</string> + <string>t</string> + <string>installed_bt5_title_list</string> + <string>upgradable_list</string> + <string>k</string> + <string>message_list</string> + <string>definition</string> + <string>sub_message_list</string> + <string>path</string> + <string>expected_state</string> + <string>action</string> + <string>obj</string> + <string>None</string> + <string>getattr</string> + <string>workflow_method</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <tuple> + <int>0</int> + </tuple> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>ERP5Site_upgradeValidationStateList</string> </value> </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeWorkflowChain.xml b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeWorkflowChain.xml index f2cbe2aa1fc21df31db5fb184409bed2d2fed17b..6c8e3b8cecd52160064b25f707876283607684b3 100644 --- a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeWorkflowChain.xml +++ b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeWorkflowChain.xml @@ -70,14 +70,73 @@ if int(upgrade) == 1:\n return ["Upgrade Required for Workflow Chain."]\n </string> </value> </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_params</string> </key> <value> <string>upgrade=0</string> </value> </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>upgrade</string> + <string>_getattr_</string> + <string>context</string> + <string>workflow_chain_dict</string> + <string>None</string> + <string>chain</string> + <string>int</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <tuple> + <int>0</int> + </tuple> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>ERP5Site_upgradeWorkflowChain</string> </value> </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_verifyActivityIntegrity.xml b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_verifyActivityIntegrity.xml index 3242abc29614ad8ec958ee6b22233453de5ccca6..e3605b4323577c413406a403ddbf1e827fd8dced 100644 --- a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_verifyActivityIntegrity.xml +++ b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_verifyActivityIntegrity.xml @@ -69,6 +69,12 @@ return message_list\n ]]></string> </value> </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_params</string> </key> <value> <string></string> </value> @@ -81,10 +87,60 @@ return message_list\n </tuple> </value> </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>_getattr_</string> + <string>context</string> + <string>portal</string> + <string>message_list</string> + <string>activity_failure_list</string> + <string>len</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>ERP5Site_verifyActivityIntegrity</string> </value> </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_verifyBT5UpgradeIntegrity.xml b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_verifyBT5UpgradeIntegrity.xml index a174ce4eec10ce923561b517fd559cd9cf6c6b5b..a262a64fe56bd9457f80f9fe21208c766e98f14f 100644 --- a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_verifyBT5UpgradeIntegrity.xml +++ b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_verifyBT5UpgradeIntegrity.xml @@ -89,6 +89,12 @@ for bt5_title in minimum_bt5_title_list:\n return [ i for i in message_list if i is not True]\n </string> </value> </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_params</string> </key> <value> <string></string> </value> @@ -101,10 +107,73 @@ return [ i for i in message_list if i is not True]\n </tuple> </value> </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>_getattr_</string> + <string>context</string> + <string>portal</string> + <string>message_list</string> + <string>assertEquals</string> + <string>assertNotEquals</string> + <string>signature</string> + <string>_getitem_</string> + <string>erp5_instance_version</string> + <string>list</string> + <string>minimum_bt5_title_list</string> + <string>_getiter_</string> + <string>bt5_title</string> + <string>bt5</string> + <string>None</string> + <string>append</string> + <string>$append0</string> + <string>i</string> + <string>True</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>ERP5Site_verifyBT5UpgradeIntegrity</string> </value> </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_verifyInstanceIntegrity.xml b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_verifyInstanceIntegrity.xml index 2818d519332b0ae32a654d765c5be37a3808011b..deb5f429144864207919c2bd7049ffd79d8399aa 100644 --- a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_verifyInstanceIntegrity.xml +++ b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_verifyInstanceIntegrity.xml @@ -65,6 +65,12 @@ for script_id in context.ERP5Site_getUpgraderSignature(\'integrity_verification_ return message_list\n </string> </value> </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_params</string> </key> <value> <string></string> </value> @@ -77,10 +83,61 @@ return message_list\n </tuple> </value> </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>message_list</string> + <string>_getiter_</string> + <string>_getattr_</string> + <string>context</string> + <string>script_id</string> + <string>result</string> + <string>None</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>ERP5Site_verifyInstanceIntegrity</string> </value> </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_verifyMemcachedIntegrity.xml b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_verifyMemcachedIntegrity.xml index 361e7a7a4a3dcb1448766f775f9eb73f7f62a118..c75177fd55c46e865972ab624c6ab9b04f1666a2 100644 --- a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_verifyMemcachedIntegrity.xml +++ b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_verifyMemcachedIntegrity.xml @@ -99,6 +99,12 @@ assertEquals(getMemcachedDict().get("upgrade_verification_key", None), site_id, return message_list\n </string> </value> </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_params</string> </key> <value> <string></string> </value> @@ -111,10 +117,73 @@ return message_list\n </tuple> </value> </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>plugin_id_list</string> + <string>_getattr_</string> + <string>context</string> + <string>portal</string> + <string>key_prefix</string> + <string>getattr</string> + <string>None</string> + <string>str</string> + <string>float</string> + <string>DateTime</string> + <string>message_list</string> + <string>assertEquals</string> + <string>assertNotEquals</string> + <string>portal_memcached</string> + <string>plugin_object_id_list</string> + <string>_getiter_</string> + <string>plugin_id</string> + <string>getMemcachedDict</string> + <string>site_id</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>ERP5Site_verifyMemcachedIntegrity</string> </value> </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_verifySQLCatalogFilterIntegrity.xml b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_verifySQLCatalogFilterIntegrity.xml index a48e4c7bb62cc8ee872aca091bc466c232a54a39..77771e58a0b935c7b4d00fdd7407e5a68e98ddbd 100644 --- a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_verifySQLCatalogFilterIntegrity.xml +++ b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_verifySQLCatalogFilterIntegrity.xml @@ -93,6 +93,12 @@ return message_list\n ]]></string> </value> </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_params</string> </key> <value> <string></string> </value> @@ -105,10 +111,73 @@ return message_list\n </tuple> </value> </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>message_list</string> + <string>_getattr_</string> + <string>context</string> + <string>catalog</string> + <string>filter_dict</string> + <string>catalog_filter_dict</string> + <string>_getiter_</string> + <string>key</string> + <string>_getitem_</string> + <string>_write_</string> + <string>expect_expression_dict</string> + <string>len</string> + <string>append</string> + <string>$append0</string> + <string>missing_key_list</string> + <string>real_data_verified</string> + <string>person</string> + <string>organisation</string> + <string>None</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>ERP5Site_verifySQLCatalogFilterIntegrity</string> </value> </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_verifyUpgradeIntegrity.xml b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_verifyUpgradeIntegrity.xml index 0d09ce0b68763d34957869b19611b2333e39578b..56bbf2876d33d5baf3f7847905a220b9b164f328 100644 --- a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_verifyUpgradeIntegrity.xml +++ b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_verifyUpgradeIntegrity.xml @@ -87,6 +87,12 @@ if getattr(context, \'WizardTool_isPersonReferenceGloballyUnique\', None) is not return message_list\n </string> </value> </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>_params</string> </key> <value> <string></string> </value> @@ -99,10 +105,61 @@ return message_list\n </tuple> </value> </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>_getattr_</string> + <string>context</string> + <string>portal</string> + <string>message_list</string> + <string>getattr</string> + <string>None</string> + <string>len</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>ERP5Site_verifyUpgradeIntegrity</string> </value> </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_upgrader/bt/revision b/bt5/erp5_upgrader/bt/revision index ea5ca3642f81687180522c5054a661171fa6dea2..dd35c6b71fc80057f07694a1d0e0ee7348383b74 100644 --- a/bt5/erp5_upgrader/bt/revision +++ b/bt5/erp5_upgrader/bt/revision @@ -1 +1 @@ -547 \ No newline at end of file +548 \ No newline at end of file