Problem/Motivation
There seems to be compatibility issues with search_api @ 8.x-1.18 and above.
Steps to reproduce
Enable search_api and entity_language_fallback. Translate an entity, for example a taxonomy term.
Call to undefined method Drupal\entity_language_fallback\Plugin\search_api\datasource\ContentEntityFallback::filterValidItemIds()
Proposed resolution
Re-add the 'filterValidItemIds' function or implement a workaround.
| Comment | File | Size | Author |
|---|---|---|---|
| entity_language_fallback-search_api_compatibility.patch | 1.77 KB | yoerioptr |
Comments
Comment #2
vuilComment #3
davidiio commentedIt works for us with entity_language_fallback version 8.x-1.4 on drupal 9.3.0
Comment #4
steinmb commentedComment #6
beltofteA bit late, but implemented a small wrapper method named filterValidItemIds in ContentEntityFallback which tries to handle the problem. Thanks for reporting this issue.
Comment #7
beltofte