On hook_entity_delete apachesolr doesn't checks whether entity was indexed before sending request to solr. We can add simple check that will make sure that entity record is exists in indexer table.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

BAHbKA created an issue. See original summary.

BAHbKA’s picture

BAHbKA’s picture

Status: Active » Needs review
jgrubb’s picture

Can this be covered by the change proposed in https://www.drupal.org/node/2605756?

jgrubb’s picture

Status: Needs review » Closed (duplicate)

I'm closing this as a dup of https://www.drupal.org/node/2605756, which has a cleaner approach to this issue.