From fa92d2d9724f40004b736aa4f6a555aaccfd5e1e Mon Sep 17 00:00:00 2001
From: Fabien Morin <fabien@nexedi.com>
Date: Wed, 30 Sep 2009 14:37:11 +0000
Subject: [PATCH] error_message variable was missing on some workflow. add XXX
 on workflow with bad name

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29333 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../variables/error_message.xml               | 51 +++++++++++++++++++
 .../variables/error_message.xml               | 51 +++++++++++++++++++
 .../variables/error_message.xml               | 51 +++++++++++++++++++
 .../portal_workflow/trade_matrix_workflow.xml |  2 +-
 bt5/erp5_trade/bt/revision                    |  2 +-
 5 files changed, 155 insertions(+), 2 deletions(-)
 create mode 100644 bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/internal_packing_list_workflow/variables/error_message.xml
 create mode 100644 bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/packing_list_container_workflow/variables/error_message.xml
 create mode 100644 bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/packing_list_workflow/variables/error_message.xml

diff --git a/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/internal_packing_list_workflow/variables/error_message.xml b/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/internal_packing_list_workflow/variables/error_message.xml
new file mode 100644
index 0000000000..e89715783d
--- /dev/null
+++ b/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/internal_packing_list_workflow/variables/error_message.xml
@@ -0,0 +1,51 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="VariableDefinition" module="Products.DCWorkflow.Variables"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>default_expr</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>default_value</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>for_catalog</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>for_status</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>error_message</string> </value>
+        </item>
+        <item>
+            <key> <string>info_guard</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>update_always</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/packing_list_container_workflow/variables/error_message.xml b/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/packing_list_container_workflow/variables/error_message.xml
new file mode 100644
index 0000000000..e89715783d
--- /dev/null
+++ b/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/packing_list_container_workflow/variables/error_message.xml
@@ -0,0 +1,51 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="VariableDefinition" module="Products.DCWorkflow.Variables"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>default_expr</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>default_value</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>for_catalog</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>for_status</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>error_message</string> </value>
+        </item>
+        <item>
+            <key> <string>info_guard</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>update_always</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/packing_list_workflow/variables/error_message.xml b/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/packing_list_workflow/variables/error_message.xml
new file mode 100644
index 0000000000..e89715783d
--- /dev/null
+++ b/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/packing_list_workflow/variables/error_message.xml
@@ -0,0 +1,51 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="VariableDefinition" module="Products.DCWorkflow.Variables"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>default_expr</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>default_value</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>for_catalog</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>for_status</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>error_message</string> </value>
+        </item>
+        <item>
+            <key> <string>info_guard</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>update_always</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_matrix_workflow.xml b/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_matrix_workflow.xml
index cc73cb4cc2..9ad50066b3 100644
--- a/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_matrix_workflow.xml
+++ b/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_matrix_workflow.xml
@@ -23,7 +23,7 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string></string> </value>
+            <value> <string>XXX This workflow should be renamed to trade_matrix_interaction_workflow</string> </value>
         </item>
         <item>
             <key> <string>groups</string> </key>
diff --git a/bt5/erp5_trade/bt/revision b/bt5/erp5_trade/bt/revision
index f0a7147fa3..45b1ccee23 100644
--- a/bt5/erp5_trade/bt/revision
+++ b/bt5/erp5_trade/bt/revision
@@ -1 +1 @@
-740
\ No newline at end of file
+741
\ No newline at end of file
-- 
2.30.9