[Zope-dev] Question about manage_afterAdd in 2.9.1

Chris Withers chris at simplistix.co.uk
Mon Mar 6 19:15:13 EST 2006


Hi All,

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?

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk


More information about the Zope-Dev mailing list