Hello Andreas,

Are you sure that the ...idg/theme/overrides.zcml
is included with a <includeOverrides file="" /> directive?

Tuesday, August 4, 2009, 7:22:36 PM, you wrote:

AJ> Hi there,

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

AJ> Andreas

AJ> --------


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

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

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



-- 
Best regards,
 Adam GROSZER                            mailto:agros...@gmail.com
--
Quote of the day:
I don't know what your destiny will be, but one thing I know, the only ones 
among you who will be really happy are those who have sought and found how to 
serve. 
- Albert Schweitzer 

_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to