Search API beta4 removed the method filterForPropertyPath from ProcessorPluginBase, which is called in FilesExtractor::addFieldValues. This leads to an undefined function error on site indexing. It could be fixed either by refactoring addFieldValues to remove filterForPropertyPath, or copying the filterForPropertyPath from the old ProcessorPluginBase into FilesExtractor.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

whiplashomega created an issue. See original summary.

nicholas.alipaz’s picture

Here is a patch against dev which just copies the method from search_api.

nicholas.alipaz’s picture

Status: Active » Needs review
f0ns’s picture

Same issue, the patch posted in #2 works!

blazey’s picture

FileSize
763 bytes

Hey. First of all thanks for your work! Good effort. IMHO there's no need to reimplement filterForPropertyPath. It's not been REmoved but just moved to Drupal\search_api\Utility\FieldsHelper :).

Leksat’s picture

Status: Needs review » Reviewed & tested by the community

Tested manually - works!
Patch looks good.

ekes’s picture

  • izus committed ea4e4cf on 8.x-1.x authored by blazey
    Issue #2846467 by nicholas.alipaz, blazey, whiplashomega, Fons Vandamme...
izus’s picture

Status: Reviewed & tested by the community » Fixed

Thanks all and sorry for the long time
this will be part of next beta that will be available today

Status: Fixed » Closed (fixed)

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