elastic/kibana

[Console] Line break is sometimes opaquely inserted when submitting request

クローズ

#193,241 opened on 2024/09/18

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

Repository metrics

Stars
 (19,065 個のスター)
PR merge metrics
 (PR metrics pending)

説明

In some cases, when submitting a request with a certain pattern, console inserts a line break under the water which breaks the request, without a hint to the user as to why that has happened. Here's a snippet to reproduce:

PUT _ingest/pipeline/entities-v1-latest-builtin_data_streams
{
  "processors": [
    {
      "set": {
        "field": "entity.displayName",
        "value": "{{remote}}{{data_stream.type}}-{{data_stream.dataset}}-{{data_stream.namespace}}"
      }
    }
  ]
}

The issue is with {{remote}}{{data_stream.type}}. If that is changed to {{remote}}-{{data_stream.type}}, the request works again.

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