Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Rollups] Incorrect validation error while creating cloned job #50486

Closed
alisonelizabeth opened this issue Nov 13, 2019 · 2 comments
Closed

[Rollups] Incorrect validation error while creating cloned job #50486

alisonelizabeth opened this issue Nov 13, 2019 · 2 comments
Labels
bug Fixes for quality problems that affect the customer experience Feature:Rollups Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more

Comments

@alisonelizabeth
Copy link
Contributor

Kibana version: 7.4.2

Describe the bug: After cloning a rollup job and changing the index pattern, then clicking next, the user cannot proceed from the second step of the wizard by clicking "Next" because, despite @timestamp being selected in the dropdown and being part of the index pattern, it displays "Date field is required" under the "Date field" field and "Fix errors before continuing" next to the next button.

Steps to reproduce:

  1. Create the following indices in Console:
PUT foo
{
  "mappings": {
    "properties": {
      "@timestamp": {
        "type": "date"
      },
      "wiz": {
        "type": "keyword"
      }
    }
  },
  "settings": {
    "number_of_shards": 1,
    "number_of_replicas": 0
  }
}

PUT bar
{
  "mappings": {
    "properties": {
      "@timestamp": {
        "type": "date"
      },
      "bang": {
        "type": "keyword"
      }
    }
  },
  "settings": {
    "number_of_shards": 1,
    "number_of_replicas": 0
  }  
}


POST foo/_doc
{
  "@timestamp" : "2019-11-12T16:37:12",
  "wiz" : "abc"
}

POST bar/_doc
{
  "@timestamp" : "2019-11-12T16:38:12",
  "bang" : "xyz"
}
  1. Create a rollup job based on foo*. All the default options will suffice.
  2. Try to clone the rollup job with the new index pattern bar* and in the second step the "Date field required" error will occur and the user cannot proceed in the wizard.
@alisonelizabeth alisonelizabeth added bug Fixes for quality problems that affect the customer experience Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more Feature:Rollups labels Nov 13, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/es-ui (Team:Elasticsearch UI)

@alisonelizabeth
Copy link
Contributor Author

Fixed via #50501

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Rollups Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
Projects
None yet
Development

No branches or pull requests

2 participants