geofield_apachesolr_index() makes the assumption that it is always being called in the context of a field on a node being indexed. This fails for non-node entites.

In apachesolr, #1838802: Add $entity_type parameter to field indexing callbacks will add an $entity_type parameter for field indexing callbacks. The attached patches update the field indexing callbacks in Geofield 7.x-2.x and 7.x-1.x to be entity-agnostic.

They depend on the #1838802: Add $entity_type parameter to field indexing callbacks getting accepted.

Comments

phayes’s picture

Status: Needs review » Fixed

This is now fixed. Thanks!

brianV’s picture

I see that you fixed this (albeit in a different way) in 7.x-2.x... Is it possible to either backport your fix to 7.x-1.x? Otherwise, can you apply this patch to that branch?

brianV’s picture

Status: Fixed » Active

Moving back to active for above comment

phayes’s picture

Version: 7.x-2.x-dev » 7.x-1.x-dev