Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#5 | 2846467-5.patch | 763 bytes | blazey |
Comments
Comment #2
nicholas.alipaz CreditAttribution: nicholas.alipaz commentedHere is a patch against dev which just copies the method from search_api.
Comment #3
nicholas.alipaz CreditAttribution: nicholas.alipaz commentedComment #4
f0ns CreditAttribution: f0ns as a volunteer and at EntityOne commentedSame issue, the patch posted in #2 works!
Comment #5
blazey CreditAttribution: blazey at Amazee Labs commentedHey. 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 toDrupal\search_api\Utility\FieldsHelper
:).Comment #6
Leksat CreditAttribution: Leksat at Amazee Labs commentedTested manually - works!
Patch looks good.
Comment #7
ekes CreditAttribution: ekes as a volunteer commentedNB This is also a dupe of the also RTBC #2827028: FilesExtrator processor should use new getFieldsHelper() function for adding fields values
Comment #9
izus CreditAttribution: izus commentedThanks all and sorry for the long time
this will be part of next beta that will be available today