Ever since #1551302: Fix server tasks system got committed (more than one and a half years ago), it is illegal for a disabled search server to have indexes attached. It seems you've just reverted your feature after running the associated update.php hook, ending up with illegal configuration in your module.
This causes problems when trying to disable the module, at which point it will try to delete the index's data from Solr, even though the server and index have never been enabled, and the user likely doesn't have Solr installed – resulting in an exception. It will probably also cause smaller errors to pop up in normal use.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

drunken monkey’s picture

Status: Active » Needs review
FileSize
1.41 KB

The attached patch should fix this.

dsnopek’s picture

Ah, so it attaches it to the server when enabling! That's quite clever. :-) Thanks for taking the time to make a patch!

dsnopek’s picture

Now that with this patch there's an extra step to enabling SOLR manually (ie. when it's not enabled at install), I think it might make sense to add a special button or admin form to enable SOLR, so that it's easier for users to do.

dsnopek’s picture

I tested the patch and it works great!

I think I'm going to create a new issue for setting up an admin form to quickly enable SOLR manually so that we can get this one committed: #2534596: Admin form for quickly enabling and configuring SOLR search manually

So, committed! Thanks again. :-)

  • dsnopek committed a58ac3c on 7.x-1.x
    Update Panopoly Search for Issue #2533504 by drunken monkey: Exported...
dsnopek’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.