On 5/16/05, Chris Withers <[EMAIL PROTECTED]> 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/
_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to