[Zope-CMF] DeprecationWarnings for container events

Tres Seaver tseaver at palladion.com
Tue Jan 17 16:07:39 EST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Florent,

I'd like to get the CMF-trunk "clean" of Deprecation warnings, at least
when running unit tests or starting up Zope, and those emitted by
OFS.subscribers are the remaining ones I know about.

How do you mean for objects to handle the case where *they* need to
respond to container events.  E.g., the CookieCrumbler needs to register
/ unregister itself as a traversal hook on its container;  there is no
"external" subscriber which should be responsible for that (unlike, say,
the catalog or the workflow tool).

WRT content, do you have code in hand which makes the catalog and
workflow tools subscribers, so that we could rip out the
'manage_afterAdd' and 'manage_beforeDelete' from the content base class?



Tres.
- --
===================================================================
Tres Seaver          +1 202-558-7113          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDzVyb+gerLs4ltQ4RAqS4AKCIx2qIMqq242fusv8TpRYUvYyKlgCeKl54
3GrzNHvSayGrjLuBo85asHM=
=i0rH
-----END PGP SIGNATURE-----



More information about the Zope-CMF mailing list