Search API 1.33 breaks Search API Solr Datasources and installations with custom field types that use fallback types

Created on 5 April 2024, 2 months ago
Updated 20 April 2024, about 2 months ago

When trying to upgrade to Search API 1.33, the Solr Document Datasource has issues:
Drupal\Component\Plugin\Exception\PluginNotFoundException while adding Views handlers for field Solr Document Β» FIELD_NAME on index INDEX: The "text" plugin does not exist. Valid plugin IDs for Drupal\Core\TypedData\TypedDataManager are: …

It seems that issue is caused by the change in _search_api_views_get_handlers().
The exceptions are triggered by the new call is_a($definition?->getClass(), EntityReferenceItem::class, TRUE) .
It seems that check is too early. Obviously some custom field types come first and cause such exceptions because the fallback types text, date , … aren’t loaded yet.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Views integration

Created by

πŸ‡©πŸ‡ͺGermany mkalkbrenner πŸ‡©πŸ‡ͺ

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024