elastic/kibana

Component template: missing name check

オープン

#189,189 opened on 2024/07/25

 (4 件のコメント) (0 件のリアクション) (0 人の担当者)TypeScript (8,021 件のフォーク)batch import
Feature:Index ManagementTeam:Kibana Managementbuggood first issue

Repository metrics

Stars
 (19,065 個のスター)
PR merge metrics
 (平均マージ 1d 16h) (30d で 999 merged PRs)

説明

Kibana version: 8.13.2

Elasticsearch version: 8.13.2

Server OS version: Rocky 8.10

Browser version: Firefox 128.0

Browser OS version: macOS Sonoma

Original install method (e.g. download page, yum, from source, etc.): I think via rpm.

Describe the bug: When creating a new component template, it is legal to use forward slashes like in "a/b". This is not yet by itself a bug, but once created, the component template can no longer be viewed, edited, or deleted. My guess is that the API looks for the "_component_template/a/" endpoint due to the forward slash in the name, which doesn't exist.

I haven't tested if it's also possible to create a component template named "a/b" via the API. In any case, I'm now stuck with an unusable component template that can't be removed.

Steps to reproduce:

  1. Create a component template named "a/b"
  2. Try to view, edit, or delete the component template.

Expected behavior: There should be a name check and/or the possibility of editing/removing such a component template.

コントリビューターガイド