Wrong schema definition

Created on 4 July 2024, 2 months ago
Updated 5 August 2024, about 1 month ago

Respect the submission guidelines above! Drupal.org issue forks cause additional work for the project maintainer!

Setup

  • Solr version:
  • Drupal Core version: 10.3
  • Search API version:
  • Search API Solr version:
  • Configured Solr Connector:

Issue

When running config_inspector in 10.3 with enabled search_api solr, we are getting this issue:


In LangcodeRequiredIfTranslatableValuesConstraintValidator.php line 26:
                                                                               
  The LangcodeRequiredIfTranslatableValues constraint can only operate on the  
   root object being validated.     

The root cause is that plugin.plugin_configuration.search_api_solr_connector.standard and plugin.plugin_configuration.search_api_backend.search_api_solr are defined as config_objects. This is wrong. The correct type for them is "mapping"

Here a PR to fix it
https://github.com/mkalkbrenner/search_api_solr/pull/99

πŸ› Bug report
Status

Fixed

Version

4.3

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany chr.fritsch πŸ‡©πŸ‡ͺπŸ‡ͺπŸ‡ΊπŸŒ

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

Comments & Activities

Production build 0.71.5 2024