From cf54ef1b9ab64e4f9992287aea9d245a970d85d7 Mon Sep 17 00:00:00 2001
From: Vincent Pelletier <vincent@nexedi.com>
Date: Wed, 25 Feb 2009 16:26:57 +0000
Subject: [PATCH] Revert commits 25644 et 25646: Role must not be defined on
 Assignment.   Note that the Assignment property sheet still has the role
 category, but this will be sorted out later.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25712 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../erp5_base/Assignment_view.xml             |   1 -
 .../erp5_base/Assignment_view/my_role.xml     | 118 ------------------
 bt5/erp5_base/bt/revision                     |   2 +-
 3 files changed, 1 insertion(+), 120 deletions(-)
 delete mode 100644 bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Assignment_view/my_role.xml

diff --git a/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Assignment_view.xml b/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Assignment_view.xml
index 892cad8163..4ffa857fb8 100644
--- a/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Assignment_view.xml
+++ b/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Assignment_view.xml
@@ -91,7 +91,6 @@
                         <string>my_activity</string>
                         <string>my_function</string>
                         <string>my_site</string>
-                        <string>my_role</string>
                         <string>my_translated_validation_state_title</string>
                       </list>
                     </value>
diff --git a/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Assignment_view/my_role.xml b/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Assignment_view/my_role.xml
deleted file mode 100644
index 1e38e74e70..0000000000
--- a/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Assignment_view/my_role.xml
+++ /dev/null
@@ -1,118 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>delegated_list</string> </key>
-            <value>
-              <list/>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>my_role</string> </value>
-        </item>
-        <item>
-            <key> <string>message_values</string> </key>
-            <value>
-              <dictionary>
-                <item>
-                    <key> <string>external_validator_failed</string> </key>
-                    <value> <string>The input failed the external validator.</string> </value>
-                </item>
-              </dictionary>
-            </value>
-        </item>
-        <item>
-            <key> <string>overrides</string> </key>
-            <value>
-              <dictionary>
-                <item>
-                    <key> <string>field_id</string> </key>
-                    <value> <string></string> </value>
-                </item>
-                <item>
-                    <key> <string>form_id</string> </key>
-                    <value> <string></string> </value>
-                </item>
-                <item>
-                    <key> <string>target</string> </key>
-                    <value> <string></string> </value>
-                </item>
-              </dictionary>
-            </value>
-        </item>
-        <item>
-            <key> <string>tales</string> </key>
-            <value>
-              <dictionary>
-                <item>
-                    <key> <string>field_id</string> </key>
-                    <value> <string></string> </value>
-                </item>
-                <item>
-                    <key> <string>form_id</string> </key>
-                    <value> <string></string> </value>
-                </item>
-                <item>
-                    <key> <string>items</string> </key>
-                    <value>
-                      <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
-                    </value>
-                </item>
-                <item>
-                    <key> <string>target</string> </key>
-                    <value> <string></string> </value>
-                </item>
-              </dictionary>
-            </value>
-        </item>
-        <item>
-            <key> <string>values</string> </key>
-            <value>
-              <dictionary>
-                <item>
-                    <key> <string>field_id</string> </key>
-                    <value> <string>my_role</string> </value>
-                </item>
-                <item>
-                    <key> <string>form_id</string> </key>
-                    <value> <string>Career_viewFieldLibrary</string> </value>
-                </item>
-                <item>
-                    <key> <string>target</string> </key>
-                    <value> <string>Click to edit the target</string> </value>
-                </item>
-              </dictionary>
-            </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="2" aka="AAAAAAAAAAI=">
-    <pickle>
-      <tuple>
-        <tuple>
-          <string>Products.Formulator.TALESField</string>
-          <string>TALESMethod</string>
-        </tuple>
-        <none/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>_text</string> </key>
-            <value> <string>python: getattr(context.portal_categories.role, preferences.getPreference(\'preferred_category_child_item_list_method_id\', \'getCategoryChildCompactLogicalPathItemList\'))()</string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>
diff --git a/bt5/erp5_base/bt/revision b/bt5/erp5_base/bt/revision
index 4e41d750b7..e83802d737 100644
--- a/bt5/erp5_base/bt/revision
+++ b/bt5/erp5_base/bt/revision
@@ -1 +1 @@
-528
\ No newline at end of file
+529
-- 
2.30.9