[Zope-CVS] CVS: Products/AdaptableStorage - Zope2FS.py:1.6

Shane Hathaway shane@zope.com
Sat, 7 Dec 2002 00:59:43 -0500


Update of /cvs-repository/Products/AdaptableStorage
In directory cvs.zope.org:/tmp/cvs-serv21888

Modified Files:
	Zope2FS.py 
Log Message:
Fixed the bugs in the new strategy (OIDs no longer include mapper_names, 
allowing more flexibility in loading and storage).  Did not resolve new
key generation yet, but everything else seems to be in good shape.


=== Products/AdaptableStorage/Zope2FS.py 1.5 => 1.6 ===
--- Products/AdaptableStorage/Zope2FS.py:1.5	Fri Dec  6 17:06:49 2002
+++ Products/AdaptableStorage/Zope2FS.py	Sat Dec  7 00:59:12 2002
@@ -50,7 +50,8 @@
 
     # root serializer
     s = ObjectSerializer('Persistence', 'PersistentMapping')
-    aspect = FixedPersistentMapping({'Application': ('/',)})
+    aspect = FixedPersistentMapping()
+    aspect.add('Application', ('/',), ('OFS/Application',))
     s.addAspect('items', aspect)
     s.addAspect('roll_call', RollCall())
     root_serializer = s