[Zope3-Users] Multiple zcml-overrides of the same component

Stephan Richter srichter at cosmos.phy.tufts.edu
Mon Jan 8 02:55:55 EST 2007

On Friday 08 December 2006 03:53, FB wrote:
> I've got a Package B depending on a Package A - both of them are
> zcml-overriding an adapter which is originally defined in zope itself.
> Unfortunately, zope doesn't seem to like that - Package B's override causes
> a ConfigurationConflictErrorwhich which it shouldn't - because the adapter
> is defined via override, right?
> Is this a bug in zope or did I miss something?

No, overridding is just not as smart as you expected it to be. You could 
probably use a ZCML condition to only load one overrides at a time.

Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training

More information about the Zope3-users mailing list