[Zope-CVS] CVS: Products/AdaptableStorage/serial_std - public.py:1.3 ClassificationAspect.py:NONE
Thu, 5 Dec 2002 12:39:18 -0500
Update of /cvs-repository/Products/AdaptableStorage/serial_std
In directory cvs.zope.org:/tmp/cvs-serv16479/serial_std
The following comments might not make sense to anyone but me right now,
but someday it might be useful for historical purposes.
- Removed ClassificationAspect. This strategy simply can't work correctly.
The load() method of FSClassificationSection was using the wrong object
mapper to classify filenames (it was using the child's rather than the
container's object mapper), revealing that classification should be
known only to the container, not the object.
- Added a "preserve" write mode to FSConnection, enabling classification to
be preserved even though other sections get changed.
- Simplified FSClassificationSection using the new preserve write mode.
- Since ClassificationAspect no longer exists, nothing will ever delegate
aspect loading/storing to MetaTypeClassifier. Removed the methods that
implemented the IAspectSerializer interface.
- Now gateways can return None as the serial, making them invisible to the
- Added tests that verify that classifications get stored in preserve mode.
- Turned the debug flag back off :-)
=== Products/AdaptableStorage/serial_std/public.py 1.2 => 1.3 ===
--- Products/AdaptableStorage/serial_std/public.py:1.2 Wed Dec 4 23:18:08 2002
+++ Products/AdaptableStorage/serial_std/public.py Thu Dec 5 12:38:47 2002
@@ -16,7 +16,6 @@
-from ClassificationAspect import ClassificationAspect
from FixedPersistentMapping import FixedPersistentMapping
from FullState import FullState
from IgnoredAttribute import IgnoredAttribute
=== Removed File Products/AdaptableStorage/serial_std/ClassificationAspect.py ===