[Erp5-report] r38610 ivan - in /erp5/trunk/bt5/erp5_km: PathTemplateItem/portal_gadgets/ Sk...

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Sep 24 09:40:31 CEST 2010


Author: ivan
Date: Fri Sep 24 09:40:30 2010
New Revision: 38610

URL: http://svn.erp5.org?rev=38610&view=rev
Log:
Add backwards compatibility for all deprecated gadgets (Admin toolbox- replaced by bottom toolbar and Subsections - replaced by "Web Site Browser").

Added:
    erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Base_viewDeprecatedGadgetWarning.xml
Modified:
    erp5/trunk/bt5/erp5_km/PathTemplateItem/portal_gadgets/km_admin.xml
    erp5/trunk/bt5/erp5_km/PathTemplateItem/portal_gadgets/km_subsection.xml
    erp5/trunk/bt5/erp5_km/PathTemplateItem/portal_gadgets/web_site_browser.xml
    erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Document_viewHistoryGadget.xml
    erp5/trunk/bt5/erp5_km/bt/revision

Modified: erp5/trunk/bt5/erp5_km/PathTemplateItem/portal_gadgets/km_admin.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_km/PathTemplateItem/portal_gadgets/km_admin.xml?rev=38610&r1=38609&r2=38610&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_km/PathTemplateItem/portal_gadgets/km_admin.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_km/PathTemplateItem/portal_gadgets/km_admin.xml [utf8] Fri Sep 24 09:40:30 2010
@@ -2,10 +2,7 @@
 <ZopeData>
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
-      <tuple>
-        <global name="Gadget" module="Products.ERP5.Document.Gadget"/>
-        <tuple/>
-      </tuple>
+      <global name="Gadget" module="Products.ERP5.Document.Gadget"/>
     </pickle>
     <pickle>
       <dictionary>
@@ -13,30 +10,16 @@
             <key> <string>_Access_contents_information_Permission</string> </key>
             <value>
               <list>
-                <string>Assignor</string>
-                <string>Manager</string>
-                <string>Owner</string>
+                <string>Anonymous</string>
               </list>
             </value>
         </item>
         <item>
-            <key> <string>_Modify_portal_content_Permission</string> </key>
-            <value>
-              <tuple>
-                <string>Assignor</string>
-                <string>Manager</string>
-                <string>Owner</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
             <key> <string>_View_Permission</string> </key>
             <value>
-              <tuple>
-                <string>Assignor</string>
-                <string>Manager</string>
-                <string>Owner</string>
-              </tuple>
+              <list>
+                <string>Anonymous</string>
+              </list>
             </value>
         </item>
         <item>
@@ -166,7 +149,7 @@ If for some reason one wants to use it s
         </item>
         <item>
             <key> <string>view_form_id</string> </key>
-            <value> <string>Base_viewToolboxGadget</string> </value>
+            <value> <string>Base_viewDeprecatedGadgetWarning</string> </value>
         </item>
       </dictionary>
     </pickle>
@@ -179,7 +162,7 @@ If for some reason one wants to use it s
   </record>
   <record id="3" aka="AAAAAAAAAAM=">
     <pickle>
-      <global name="OOBTree" module="BTrees._OOBTree"/>
+      <global name="OOBTree" module="BTrees.OOBTree"/>
     </pickle>
     <pickle>
       <none/>
@@ -187,7 +170,7 @@ If for some reason one wants to use it s
   </record>
   <record id="4" aka="AAAAAAAAAAQ=">
     <pickle>
-      <global name="OOBTree" module="BTrees._OOBTree"/>
+      <global name="OOBTree" module="BTrees.OOBTree"/>
     </pickle>
     <pickle>
       <none/>

Modified: erp5/trunk/bt5/erp5_km/PathTemplateItem/portal_gadgets/km_subsection.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_km/PathTemplateItem/portal_gadgets/km_subsection.xml?rev=38610&r1=38609&r2=38610&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_km/PathTemplateItem/portal_gadgets/km_subsection.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_km/PathTemplateItem/portal_gadgets/km_subsection.xml [utf8] Fri Sep 24 09:40:30 2010
@@ -2,10 +2,7 @@
 <ZopeData>
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
-      <tuple>
-        <global name="Gadget" module="Products.ERP5.Document.Gadget"/>
-        <tuple/>
-      </tuple>
+      <global name="Gadget" module="Products.ERP5.Document.Gadget"/>
     </pickle>
     <pickle>
       <dictionary>
@@ -13,30 +10,16 @@
             <key> <string>_Access_contents_information_Permission</string> </key>
             <value>
               <list>
-                <string>Assignor</string>
-                <string>Manager</string>
-                <string>Owner</string>
+                <string>Anonymous</string>
               </list>
             </value>
         </item>
         <item>
-            <key> <string>_Modify_portal_content_Permission</string> </key>
-            <value>
-              <tuple>
-                <string>Assignor</string>
-                <string>Manager</string>
-                <string>Owner</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
             <key> <string>_View_Permission</string> </key>
             <value>
-              <tuple>
-                <string>Assignor</string>
-                <string>Manager</string>
-                <string>Owner</string>
-              </tuple>
+              <list>
+                <string>Anonymous</string>
+              </list>
             </value>
         </item>
         <item>
@@ -154,7 +137,7 @@
         </item>
         <item>
             <key> <string>view_form_id</string> </key>
-            <value> <string>WebSection_viewSubsectionGadget</string> </value>
+            <value> <string>Base_viewDeprecatedGadgetWarning</string> </value>
         </item>
       </dictionary>
     </pickle>
@@ -167,7 +150,7 @@
   </record>
   <record id="3" aka="AAAAAAAAAAM=">
     <pickle>
-      <global name="OOBTree" module="BTrees._OOBTree"/>
+      <global name="OOBTree" module="BTrees.OOBTree"/>
     </pickle>
     <pickle>
       <none/>
@@ -175,7 +158,7 @@
   </record>
   <record id="4" aka="AAAAAAAAAAQ=">
     <pickle>
-      <global name="OOBTree" module="BTrees._OOBTree"/>
+      <global name="OOBTree" module="BTrees.OOBTree"/>
     </pickle>
     <pickle>
       <none/>

Modified: erp5/trunk/bt5/erp5_km/PathTemplateItem/portal_gadgets/web_site_browser.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_km/PathTemplateItem/portal_gadgets/web_site_browser.xml?rev=38610&r1=38609&r2=38610&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_km/PathTemplateItem/portal_gadgets/web_site_browser.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_km/PathTemplateItem/portal_gadgets/web_site_browser.xml [utf8] Fri Sep 24 09:40:30 2010
@@ -2,10 +2,7 @@
 <ZopeData>
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
-      <tuple>
-        <global name="Gadget" module="Products.ERP5Type.Document.Gadget"/>
-        <tuple/>
-      </tuple>
+      <global name="Gadget" module="Products.ERP5Type.Document.Gadget"/>
     </pickle>
     <pickle>
       <dictionary>
@@ -13,30 +10,16 @@
             <key> <string>_Access_contents_information_Permission</string> </key>
             <value>
               <list>
-                <string>Assignor</string>
-                <string>Manager</string>
-                <string>Owner</string>
+                <string>Anonymous</string>
               </list>
             </value>
         </item>
         <item>
-            <key> <string>_Modify_portal_content_Permission</string> </key>
-            <value>
-              <tuple>
-                <string>Assignor</string>
-                <string>Manager</string>
-                <string>Owner</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
             <key> <string>_View_Permission</string> </key>
             <value>
-              <tuple>
-                <string>Assignor</string>
-                <string>Manager</string>
-                <string>Owner</string>
-              </tuple>
+              <list>
+                <string>Anonymous</string>
+              </list>
             </value>
         </item>
         <item>
@@ -105,7 +88,7 @@
   </record>
   <record id="3" aka="AAAAAAAAAAM=">
     <pickle>
-      <global name="OOBTree" module="BTrees._OOBTree"/>
+      <global name="OOBTree" module="BTrees.OOBTree"/>
     </pickle>
     <pickle>
       <none/>
@@ -113,7 +96,7 @@
   </record>
   <record id="4" aka="AAAAAAAAAAQ=">
     <pickle>
-      <global name="OOBTree" module="BTrees._OOBTree"/>
+      <global name="OOBTree" module="BTrees.OOBTree"/>
     </pickle>
     <pickle>
       <none/>

Added: erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Base_viewDeprecatedGadgetWarning.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Base_viewDeprecatedGadgetWarning.xml?rev=38610&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Base_viewDeprecatedGadgetWarning.xml (added)
+++ erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Base_viewDeprecatedGadgetWarning.xml [utf8] Fri Sep 24 09:40:30 2010
@@ -0,0 +1,62 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_bind_names</string> </key>
+            <value>
+              <object>
+                <klass>
+                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
+                </klass>
+                <tuple/>
+                <state>
+                  <dictionary>
+                    <item>
+                        <key> <string>_asgns</string> </key>
+                        <value>
+                          <dictionary>
+                            <item>
+                                <key> <string>name_subpath</string> </key>
+                                <value> <string>traverse_subpath</string> </value>
+                            </item>
+                          </dictionary>
+                        </value>
+                    </item>
+                  </dictionary>
+                </state>
+              </object>
+            </value>
+        </item>
+        <item>
+            <key> <string>_text</string> </key>
+            <value> <string encoding="cdata"><![CDATA[
+
+<p> This gadget has been deprecated. You are advised to remove it from you pad.</p>
+
+]]></string> </value>
+        </item>
+        <item>
+            <key> <string>content_type</string> </key>
+            <value> <string>text/html</string> </value>
+        </item>
+        <item>
+            <key> <string>expand</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>Base_viewDeprecatedGadgetWarning</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string></string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Document_viewHistoryGadget.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Document_viewHistoryGadget.xml?rev=38610&r1=38609&r2=38610&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Document_viewHistoryGadget.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Document_viewHistoryGadget.xml [utf8] Fri Sep 24 09:40:30 2010
@@ -60,6 +60,7 @@
             <value>
               <list>
                 <string>gadget</string>
+                <string>hidden</string>
               </list>
             </value>
         </item>
@@ -72,6 +73,13 @@
                     <value>
                       <list>
                         <string>listbox</string>
+                      </list>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>hidden</string> </key>
+                    <value>
+                      <list>
                         <string>listbox_date</string>
                       </list>
                     </value>

Modified: erp5/trunk/bt5/erp5_km/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_km/bt/revision?rev=38610&r1=38609&r2=38610&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_km/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_km/bt/revision [utf8] Fri Sep 24 09:40:30 2010
@@ -1 +1 @@
-1559
\ No newline at end of file
+1561
\ No newline at end of file




More information about the Erp5-report mailing list