Re: [Zope-CMF] Re: Problem with Registering Local Utilities on reinstall of product

2008-06-17 Thread Wichert Akkerman
Previously Hanno Schlichting wrote: > The code here does seem indeed to be wrong. There's two modes for GS > import handlers, one being with purge and one without. The code in > question does not support that correctly. It does work in some cases, as > the underlying registerUtility function fir

[Zope-CMF] Re: Problem with Registering Local Utilities on reinstall of product

2008-06-16 Thread Hanno Schlichting
Hi. There's two issues here. One is with quick installer and one is with GenericSetup. This mailing list is not the right place to discuss issues with the first, please do that on the Plone developers mailing list. Nathan Van Gheem wrote: Martin Aspeli pointed out, I think the problem is in

Re: [Zope-CMF] Re: Problem with Registering Local Utilities on reinstall of product

2008-06-16 Thread Nathan Van Gheem
With the old style products you could create afterInstall and beforeUnistall scripts that were called on the product when proper. Is there a way to do this with the new style zope eggs. Maybe somewhere in zcml? Thanks, Nathan On Mon, Jun 16, 2008 at 12:31 PM, Balazs Ree <[EMAIL PROTECTED]> wrot

[Zope-CMF] Re: Problem with Registering Local Utilities on reinstall of product

2008-06-16 Thread Balazs Ree
Hi Nathan, On Mon, 16 Jun 2008 10:51:34 -0500, Nathan Van Gheem wrote: > Although, from what I've found, this is not the problem. By stepping > through the code, I found in this context, the local utility no longer > exists. So at some point in the install reinstall process it is > unregistered