Action buttons on IndexListForm throw error when no plugin is selected

Created on 30 April 2025, 15 days ago

Problem/Motivation

When no plugin is selected on the "Index plugins" overview page and you click on "Setup" or "Drop indices", the page will throw an error.

Setup:
Parameter "plugin" for route "elasticsearch_helper_index_management.index.setup" must match "[^/]++" ("" given) to generate a corresponding URL

Drop indices:
Parameter "plugin" for route "elasticsearch_helper_index_management.index.drop" must match "[^/]++" ("" given) to generate a corresponding URL.

Steps to reproduce

  1. Go to /admin/config/search/elasticsearch_helper/index
  2. Do not select any plugin
  3. Click on "Setup" or "Drop indices"
  4. See the error

Proposed resolution

Do same check as on "Reindex"

Remaining tasks

Create MR

User interface changes

None

API changes

None

Data model changes

None

🐛 Bug report
Status

Active

Version

8.1

Component

Code

Created by

🇧🇪Belgium tim-diels Belgium 🇧🇪

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024