I created a feature with Search API 7.x-1.0 and Search API SOLR 7.x-1.0-rc1 with my Server and my Index (on my dev environment). When I try to revert this feature on my Staging environment, I'm unable to revert the settings. I'm getting this error:

SearchApiException: Search server with machine name solr specifies illegal service class search_api_solr_service. in SearchApiServer->ensureProxy() (line 133 of sites/all/modules/contrib/search_api/includes/server_entity.inc).

I think the issue has to do with the order of executing. Drupal tries to revert the index without a server.
If I disable the feature, and then enable Search API, Search API SOLR first before re-enabling the Feature, all goes correct.

Might be related to #1349840: Feature revert does not work

Comments

drunken monkey’s picture

I don't think those are related, and I'm also not sure whether there's actually anything we can do about this issue. If Features doesn't enable the dependency modules in time, we can hardly change that.

OanaIlea’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

This issue was closed due to lack of activity over a long period of time. If the issue is still acute for you, feel free to reopen it and describe the current state.