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.

Comments

yoerioptr created an issue. See original summary.

vuil’s picture

Status: Active » Needs review
davidiio’s picture

It works for us with entity_language_fallback version 8.x-1.4 on drupal 9.3.0

steinmb’s picture

  • beltofte committed dbfcbf0a on 8.x-1.x
    Issue #3203188 by yoerioptr, beltofte: Search API compatibility
    
beltofte’s picture

Status: Needs review » Fixed

A bit late, but implemented a small wrapper method named filterValidItemIds in ContentEntityFallback which tries to handle the problem. Thanks for reporting this issue.

beltofte’s picture

Status: Fixed » Closed (fixed)