20 Mar
2006
20 Mar
'06
4:13 p.m.
Chris Withers wrote:
I've started seeing warnings like this with an instance I'm moving from Zope 2.7 to 2.9:
C:\Zope\2.9.1\lib\python\OFS\subscribers.py:74: DeprecationWarning: Products.CookieCrumbler.CookieCrumbler.CookieCrumbler.manage_afterAdd is deprecated and will be removed in Zope 2.11, you should use event subscribers instead, and meanwhile mark the class with <five:deprecatedManageAddDelete/> DeprecationWarning)
Is there an example of exactly what I need to add and where?
The deprecation message tells you what to do :). Anyways, see http://blogs.nuxeo.com/sections/blogs/florent_guillaume/2005_11_08_events-in... for more info. Philipp