From 9bd141f9476968db784ac48c8b87bafb5e3aa8a3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com>
Date: Fri, 27 Apr 2012 15:29:04 +0200
Subject: [PATCH] Fix object.

---
 .../portal_vifib_rest_api_v1.xml              | 112 ++++++++++--------
 .../bt5/vifib_slapos_rest_api_v1/bt/revision  |   2 +-
 2 files changed, 66 insertions(+), 48 deletions(-)

diff --git a/master/bt5/vifib_slapos_rest_api_v1/ToolTemplateItem/portal_vifib_rest_api_v1.xml b/master/bt5/vifib_slapos_rest_api_v1/ToolTemplateItem/portal_vifib_rest_api_v1.xml
index cfc3e7ae5..6ca9c0d2c 100644
--- a/master/bt5/vifib_slapos_rest_api_v1/ToolTemplateItem/portal_vifib_rest_api_v1.xml
+++ b/master/bt5/vifib_slapos_rest_api_v1/ToolTemplateItem/portal_vifib_rest_api_v1.xml
@@ -7,57 +7,75 @@
     <pickle>
       <dictionary>
         <item>
-            <key> <string>__Broken_state__</string> </key>
+            <key> <string>_Access_contents_information_Permission</string> </key>
             <value>
-              <dictionary>
-                <item>
-                    <key> <string>_Access_contents_information_Permission</string> </key>
-                    <value>
-                      <tuple>
-                        <string>Member</string>
-                        <string>Manager</string>
-                      </tuple>
-                    </value>
-                </item>
-                <item>
-                    <key> <string>_Add_portal_content_Permission</string> </key>
-                    <value>
-                      <tuple>
-                        <string>Manager</string>
-                      </tuple>
-                    </value>
-                </item>
-                <item>
-                    <key> <string>_View_Permission</string> </key>
-                    <value>
-                      <tuple>
-                        <string>Manager</string>
-                      </tuple>
-                    </value>
-                </item>
-                <item>
-                    <key> <string>__ac_local_roles__</string> </key>
-                    <value>
-                      <dictionary>
-                        <item>
-                            <key> <string>zope</string> </key>
-                            <value>
-                              <list>
-                                <string>Owner</string>
-                              </list>
-                            </value>
-                        </item>
-                      </dictionary>
-                    </value>
-                </item>
-                <item>
-                    <key> <string>id</string> </key>
-                    <value> <string>portal_vifib_rest_api_v1</string> </value>
-                </item>
-              </dictionary>
+              <tuple>
+                <string>Manager</string>
+                <string>Member</string>
+              </tuple>
             </value>
         </item>
+        <item>
+            <key> <string>_Add_portal_content_Permission</string> </key>
+            <value>
+              <tuple>
+                <string>Manager</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>_View_Permission</string> </key>
+            <value>
+              <tuple>
+                <string>Manager</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>_count</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>_mt_index</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>_tree</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>portal_vifib_rest_api_v1</string> </value>
+        </item>
       </dictionary>
     </pickle>
   </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <global name="Length" module="BTrees.Length"/>
+    </pickle>
+    <pickle> <int>0</int> </pickle>
+  </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <global name="OOBTree" module="BTrees.OOBTree"/>
+    </pickle>
+    <pickle>
+      <none/>
+    </pickle>
+  </record>
+  <record id="4" aka="AAAAAAAAAAQ=">
+    <pickle>
+      <global name="OOBTree" module="BTrees.OOBTree"/>
+    </pickle>
+    <pickle>
+      <none/>
+    </pickle>
+  </record>
 </ZopeData>
diff --git a/master/bt5/vifib_slapos_rest_api_v1/bt/revision b/master/bt5/vifib_slapos_rest_api_v1/bt/revision
index d8263ee98..e440e5c84 100644
--- a/master/bt5/vifib_slapos_rest_api_v1/bt/revision
+++ b/master/bt5/vifib_slapos_rest_api_v1/bt/revision
@@ -1 +1 @@
-2
\ No newline at end of file
+3
\ No newline at end of file
-- 
2.30.9