Open mauritsvanrees opened 8 years ago
@mauritsvanrees Is this fixed with your PR or is anything missing?
The control panel works after applying the upgrade.
But any previous settings have been lost because the SolrConnectionConfig
instance is broken: its class is gone.
Options:
SolrConnectionConfig
in manager.py
so we can read the config in the upgrade step and port it to the new settings.I have no site where I am using a previous collective.solr version, so I don't mind. But others might.
@mauritsvanrees I'm ok with both options. If somebody is willing to implement 1) that would be a lot better of course.
I was testing with collective.solr 5.0.3 and then tried 6.0a1. Same with master. Two problems:
collective.solr.facets
in the search viewlet.collective.solr.interfaces.ISolrSchema
defines a fieldindex_timeout
, for which there is no record.'I assumed there were one or more new options in the registry, so I started creating an upgrade step for this, trying to avoid overwriting the existing settings. But I see that until version 5.0.3 the data was not in the registry, but in a config utility. This is now broken, so we cannot get the data back. When I do a
queryUtility(ISolrConnectionConfig)
the result is:I will make a pull request that registers our interface in the configuration registry and that removes the broken utility.
It would be nicer if the utility code could be restored so we could take over the settings in this upgrade. Currently users will need to redo any configuration changes they made.