[Zope-CVS] CVS: Products/AdaptableStorage - Zope2FS.py:1.16.2.1 Zope2Mapper.py:1.3.2.1 Zope2SQL.py:1.7.2.1
Christian Zagrodnick
cz@gocept.com
Sat, 4 Jan 2003 14:09:20 -0500
Update of /cvs-repository/Products/AdaptableStorage
In directory cvs.zope.org:/tmp/cvs-serv13017
Modified Files:
Tag: zagy-patches
Zope2FS.py Zope2Mapper.py Zope2SQL.py
Log Message:
If a class did not subclass from ObjectManager and PropertyManager but only
from ObjectManager the serialization was failing. Fixed that -- not very
nice though.
=== Products/AdaptableStorage/Zope2FS.py 1.16 => 1.16.2.1 ===
--- Products/AdaptableStorage/Zope2FS.py:1.16 Fri Jan 3 17:04:14 2003
+++ Products/AdaptableStorage/Zope2FS.py Sat Jan 4 14:09:18 2003
@@ -69,7 +69,7 @@
# anyfolder object gateway
g = ObjectGateway()
g.addGateway('items', FSDirectoryItems(conn))
- g.addGateway('properties', properties_gw)
+ #g.addGateway('properties', properties_gw)
g.addGateway('id', FSAutoId())
g.addGateway('remainder', FSSectionData(conn, 'remainder'))
root_mapper.getSubMapper('anyfolder').setGateway(g)
=== Products/AdaptableStorage/Zope2Mapper.py 1.3 => 1.3.2.1 ===
--- Products/AdaptableStorage/Zope2Mapper.py:1.3 Fri Jan 3 17:04:14 2003
+++ Products/AdaptableStorage/Zope2Mapper.py Sat Jan 4 14:09:18 2003
@@ -98,7 +98,7 @@
s = AnyObjectSerializer()
m.setSerializer(s)
s.addAspect('items', folder_items_aspect)
- s.addAspect('properties', properties_aspect)
+ #s.addAspect('properties', properties_aspect)
s.addAspect('id', IdAttribute())
s.addAspect('remainder', RemainingState())
classifier.registerDefaultStorage('(folderish object)', 'anyfolder', 1)
=== Products/AdaptableStorage/Zope2SQL.py 1.7 => 1.7.2.1 ===
--- Products/AdaptableStorage/Zope2SQL.py:1.7 Fri Jan 3 17:04:14 2003
+++ Products/AdaptableStorage/Zope2SQL.py Sat Jan 4 14:09:18 2003
@@ -81,7 +81,7 @@
# anyfolder object gateway
g = ObjectGateway()
g.addGateway('items', folder_items_gw)
- g.addGateway('properties', properties_gw)
+ #g.addGateway('properties', properties_gw)
g.addGateway('id', item_id_gw)
g.addGateway('remainder', remainder_gw)
root_mapper.getSubMapper('anyfolder').setGateway(g)