can not conincide with other search_api_indices

Created on 16 July 2024, 8 months ago
Updated 30 July 2024, 7 months ago

Problem/Motivation

If you ass another search index next to it, the validations go off.

Steps to reproduce

Create elasticsearch server
Create elasticsearch index (this page will throw search_api_aais errors in console)

Proposed resolution

Fix in JS

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇧🇪Belgium wouters_f Leuven

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

Comments & Activities

  • Issue created by @wouters_f
  • 🇧🇪Belgium wouters_f Leuven

    If I in the function

    function search_api_aais_form_search_api_index_form_alter(&$form, FormStateInterface $form_state, $form_id): void {
    

    Disable this If and everything below

        if (!empty($search_api_servers_aais_options)) {
    

    I can add Elastic indices again.
    I think this form alter is a bit too greedy, it should not be active on ES-indices.

    • e8fae7df committed on 1.x
      Issue #3461721: Fixed required state and index name validation...
  • 🇧🇪Belgium interx Flanders

    Thanks for the report. The required state and index name validation were overly zealous.
    This has been fixed in dev and will be included in the next tagged release.

  • Status changed to Fixed 8 months ago
  • 🇧🇪Belgium interx Flanders
  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024