Open tisto opened 11 years ago
ftw.solr currently works only with collective.solr 3.0
The goal is to remove ftw.solr's contentlisting in the future and use the one provided by collective.solr. However currently the FlareContentListingObject provided by collective.solr does not inherit from p.a.c.contentlisting.BaseContentListingObject and thus is missing some methods (e.g. appendViewAction, which is needed by ftw.solr)
See also #4
Traceback (most recent call last): File "/home/timo/.buildout/eggs/Zope2-2.13.19-py2.7.egg/Zope2/Startup/run.py", line 76, in <module> run() File "/home/timo/.buildout/eggs/Zope2-2.13.19-py2.7.egg/Zope2/Startup/run.py", line 22, in run starter.prepare() File "/home/timo/.buildout/eggs/Zope2-2.13.19-py2.7.egg/Zope2/Startup/__init__.py", line 86, in prepare self.startZope() File "/home/timo/.buildout/eggs/Zope2-2.13.19-py2.7.egg/Zope2/Startup/__init__.py", line 262, in startZope Zope2.startup() File "/home/timo/.buildout/eggs/Zope2-2.13.19-py2.7.egg/Zope2/__init__.py", line 47, in startup _startup() File "/home/timo/.buildout/eggs/Zope2-2.13.19-py2.7.egg/Zope2/App/startup.py", line 118, in startup load_zcml() File "/home/timo/.buildout/eggs/Zope2-2.13.19-py2.7.egg/Zope2/App/startup.py", line 52, in load_zcml load_site() File "/home/timo/.buildout/eggs/Zope2-2.13.19-py2.7.egg/Zope2/App/zcml.py", line 46, in load_site _context = xmlconfig.file(site_zcml) File "/home/timo/.buildout/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 651, in file context.execute_actions() File "/home/timo/.buildout/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 620, in execute_actions for action in resolveConflicts(self.actions): File "/home/timo/.buildout/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 1527, in resolveConflicts raise ConfigurationConflictError(conflicts) zope.configuration.config.ConfigurationConflictError: Conflicting configuration actions For: ('adapter', (<class 'collective.solr.parser.SolrResponse'>,), <InterfaceClass plone.app.contentlisting.interfaces.IContentListing>, '') File "/home/timo/workspace/krebswegweiser/src/collective.solr/src/collective/solr/configure.zcml", line 99.2-103.8 <adapter zcml:condition="installed plone.app.contentlisting" factory="plone.app.contentlisting.contentlisting.ContentListing" for="collective.solr.parser.SolrResponse" /> File "/home/timo/workspace/krebswegweiser/src/ftw.solr/ftw/solr/configure.zcml", line 29.4-31.52 <adapter factory="plone.app.contentlisting.contentlisting.ContentListing" for="collective.solr.parser.SolrResponse" /> For: ('adapter', (<class 'collective.solr.flare.PloneFlare'>,), <InterfaceClass plone.app.contentlisting.interfaces.IContentListingObject>, '') File "/home/timo/workspace/krebswegweiser/src/collective.solr/src/collective/solr/configure.zcml", line 105.2-109.8 <adapter zcml:condition="installed plone.app.contentlisting" factory="collective.solr.contentlisting.FlareContentListingObject" for="collective.solr.flare.PloneFlare" /> File "/home/timo/workspace/krebswegweiser/src/ftw.solr/ftw/solr/configure.zcml", line 32.4-34.49 <adapter factory="ftw.solr.contentlisting.SolrContentListingObject" for="collective.solr.flare.PloneFlare" />