Skip to content

[Data plugin] Wrong caching for Index pattern fields #84666

@alexwizp

Description

@alexwizp

Kibana version:
master

Describe the bug:
While working on #84336 I encountered strange caching of the pattern index fields on the server side of Kibana.
To reproduce this issue please checkout #84612

Steps to reproduce:

  1. Install some of Sample Data

  2. Go to Stack Management -> Index patterns -> your index (e.g. kibana_sample_data_ecommerce)

  3. Set custom label for some field (e.g. order_date -> 'custom label (order date)')
    image

  4. After saving go to TSVB and try to select somewhere field from step 3
    image


Expected behavior:
I expect to see custom label (order date)


  1. To be sure this isn't a UI issue, let's reload the entire page and open
    image

  2. Now let's restart Kibana server. Custom label was applied
    image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions