[Zope3-dev] Overlapping Products

Lennart Regebro regebro at gmail.com
Mon May 16 06:13:34 EDT 2005


On 5/16/05, Chris Withers <chris at simplistix.co.uk> wrote:
> Hi All,
> 
> Zope 2 has the nice ability to allow you to override Products.
> For example, I just found a bug in ZCTextIndex which will need fixing,
> so between now and 2.7.7, I can just run with a patched ZCTextIndex
> product in my instance home without having to worry about whether the
> base code is patched or not on a cluster of machines.
> 
> How will this work in Zope 3, particularly w.r.t. ZODB persistence of
> classes which I might want to override in this way?

In most cases you should be able to make a product that has the
patched object, and use overrides.zcml to make zope use your patched
object instead.

There may be other options, dependning on exactly what the problem is,
like adapters, if you make a patch to extend the API in some way.

-- 
Lennart Regebro, Nuxeo     http://www.nuxeo.com/
CPS Content Management     http://www.cps-project.org/


More information about the Zope3-dev mailing list