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-zope-2-9
for more info.

Philipp
_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to