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

DevTools wrong autocomplete of time_zone parameter in range query #53280

Closed
howtwizer opened this issue Dec 17, 2019 · 2 comments
Closed

DevTools wrong autocomplete of time_zone parameter in range query #53280

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

Comments

@howtwizer
Copy link

Kibana version:
7.5.0
Elasticsearch version:
7.5.0
Browser version:
Chrome Version 78.0.3904.108 (Official Build) (64-bit)
Browser OS version:
macOS 10.15.1
Original install method (e.g. download page, yum, from source, etc.):
elastic.co cloud installed Kibana
Describe the bug:
In range queries autocomplete suggesting wrong value for time_zone field
"time_zone": "+1:00".
This value of time_zone will lead to illegal_argument_exception

Steps to reproduce:

  1. In Dev Tools create range query.
  2. Start to type "time_zone"
  3. Press TAB when autocomplete suggest

Expected behavior:
Time_zone should insert value in format HH:MM
Example:
"time_zone": "+01:00".
Provide logs and/or server output (if relevant):
{ "error": { "root_cause": [ { "type": "illegal_argument_exception", "reason": "java.time.DateTimeException: Invalid ID for ZoneOffset, non numeric characters found: +1:00" } ], "type": "illegal_argument_exception", "reason": "java.time.DateTimeException: Invalid ID for ZoneOffset, non numeric characters found: +1:00", "caused_by": { "type": "date_time_exception", "reason": "Invalid ID for ZoneOffset, non numeric characters found: +1:00" } }, "status": 400 }

Any additional context:
Related string founded in 2 files
dsl.js
filter.js

I can try to create a fix and open pull request if need.

@Bargs Bargs added the Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more label Dec 17, 2019
@elasticmachine
Copy link
Contributor

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

@Bargs Bargs added Feature:Console Dev Tools Console Feature Feature:Dev Tools labels Dec 17, 2019
@cjcenizal cjcenizal added the bug Fixes for quality problems that affect the customer experience label Dec 17, 2019
@jloleysens
Copy link
Contributor

Addressed in #53841

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:Console Dev Tools Console Feature Feature:Dev Tools Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
Projects
None yet
Development

No branches or pull requests

5 participants