DevTools wrong autocomplete of time_zone parameter in range query #53280
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
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:
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.
The text was updated successfully, but these errors were encountered: