During eggification of my old-style product, I moved a viewlet to a new eggified package; now I get a ConfigurationConflictError
:
zope.configuration.config.ConfigurationConflictError: Conflicting configuration actions
For: ('viewlet', <InterfaceClass zope.interface.Interface>, <InterfaceClass zope.publisher.interfaces.browser.IDefaultBrowserLayer>, <InterfaceClass zope.browser.interfaces.IBrowserView>, <InterfaceClass plone.app.layout.viewlets.interfaces.IHtmlHead>, u'plone.htmlhead.title')
File "/opt/zope/common/eggs/plone.app.layout-2.3.11-py2.7.egg/plone/app/layout/viewlets/configure.zcml", line 198.4-203.10
<browser:viewlet
name="plone.htmlhead.title"
manager=".interfaces.IHtmlHead"
class=".common.TitleViewlet"
permission="zope2.View"
/>
File "/.../src/my.package/src/my/package/configure.zcml", line 12.4-17.10
<browser:viewlet
name="plone.htmlhead.title"
manager="plone.app.layout.viewlets.interfaces.IHtmlHead"
class=".overrides.title.TitleViewlet"
permission="zope2.View"
/>
What are my options; do I need a monkey-patch, or is there some other possibility?
I could not find the browser:viewlet
directive on https://docs.zope.org/zope3/ZCML/@@staticmenu.html nor https://zopecomponent.readthedocs.io/en/latest/index.html.