[Zope3-Users] [ZCML] Issue with conflicting browser:page decl

Andreas Jung lists at zopyx.com
Tue Aug 4 13:22:36 EDT 2009


Hi there,

I'm really puzzled about the following ZCML configuration conflict
where I am trying to override a browser:page for defined in
dateable.chronos.browser.events.EventListingView.upcomingEvents
with slightly customized implementation within my own idg.theme package.
Both ZCML configuration are of course identical except the the 'class'
is different.
Anything I am missing?

Andreas

--------


  File
"/data/idg_buildout/parts/zope2/lib/python/zope/configuration/xmlconfig.py",
line 581, in file
    context.execute_actions()
  File
"/data/idg_buildout/parts/zope2/lib/python/zope/configuration/config.py", line
606, in execute_actions
    for action in resolveConflicts(self.actions):
  File
"/data/idg_buildout/parts/zope2/lib/python/zope/configuration/config.py", line
1513, in resolveConflicts
    raise ConfigurationConflictError(conflicts)
zope.configuration.config.ConfigurationConflictError: Conflicting
configuration actions
  For: ('view', <InterfaceClass
dateable.chronos.interfaces.ICalendarEnhanced>, u'list.html',
<InterfaceClass zope.publisher.interfaces.browser.IBrowserRequest>,
<InterfaceClass zope.publisher.interfaces.browser.IDefaultBrowserLayer>)

    File
"/home/plone/.buildout/eggs/dateable.chronos-0.5-py2.4.egg/dateable/chronos/browser/configure.zcml",
line 57.2-63.8
        <browser:page
            name="list.html"
            for="dateable.chronos.interfaces.ICalendarEnhanced"
            permission="dateable.chronos.ViewContent"
            class=".events.EventListingView"
            attribute="upcomingEvents"
            />

    File "/data/idg_buildout/src/idg.theme/idg/theme/overrides.zcml",
line 6.2-12.8
        <browser:page
            name="list.html"
            for="dateable.chronos.interfaces.ICalendarEnhanced"
            permission="dateable.chronos.ViewContent"
            class="idg.theme.browser.events.EventListingView"
            attribute="upcomingEvents"
            />

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.vcf
Type: text/x-vcard
Size: 316 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope3-users/attachments/20090804/0272d15b/attachment.vcf 


More information about the Zope3-users mailing list