Kibana: Discovery lucene query syntax warning cause "Uncaught TypeError"

Created on 24 Oct 2019  路  11Comments  路  Source: elastic/kibana

Kibana version: 7.4.0/7.4.1

Describe the bug:
if Lucene query syntax write in KQL mode, Lucene query syntax warning can't show up, console show Uncaught TypeError as below

Uncaught TypeError: Cannot read property 'addWarning' of undefined
    at QueryBarUI.handleLuceneSyntaxWarning (commons.bundle.js:3)
    at QueryBarUI.onSubmit (commons.bundle.js:3)
    at commons.bundle.js:3
    at Object.ca (vendors.bundle.dll.js:200)
    at ja (vendors.bundle.dll.js:200)
    at ka (vendors.bundle.dll.js:200)
    at wa (vendors.bundle.dll.js:200)
    at Aa (vendors.bundle.dll.js:200)
    at ya (vendors.bundle.dll.js:200)
    at Da (vendors.bundle.dll.js:200)

Cause query can't be update.

Steps to reproduce:

  1. Query"field: f-*" in KQL mode
KQL AppServices KibanaApp bug

Most helpful comment

Dear developers,

image

This problem stops the update/refresh button working, and users has no other easy way to do a new query, which makes Kibana unusable.

It seems this is fixed on master but broken on 7.4.

I wonder, is there a plan to release a new version to address this bug?

Thanks for your attention and efforts.

All 11 comments

Pinging @elastic/kibana-app (Team:KibanaApp)

Pinging @elastic/kibana-app-arch (Team:AppArch)

@elastic/kibana-app-arch that exception looks like some dependencies (to toasts services) got lost during shimming?

cc @lizozom

It seems this is fixed on master but broken on 7.4. Does someone from @elastic/kibana-app-arch know which PR could have fixed that?

Any updates on this issue?
BTW, this is happening only on if I run Kibana on a remote machine and not localhost..
I am using the latest 7.4.2 and elastic 7.4.2 as well.

Got the same problem on Kibana 7.4.2:

Uncaught TypeError: Cannot read property 'addWarning' of undefined
    at QueryBarUI.handleLuceneSyntaxWarning (commons.bundle.js:3)
    at QueryBarUI.onSubmit (commons.bundle.js:3)
    at Object.onSubmit (commons.bundle.js:3)
    at QueryBarInputUI.onSubmit (commons.bundle.js:3)
    at commons.bundle.js:3
    at Object.ca (vendors.bundle.dll.js:200)
    at ja (vendors.bundle.dll.js:200)
    at ka (vendors.bundle.dll.js:200)
    at wa (vendors.bundle.dll.js:200)
    at Aa (vendors.bundle.dll.js:200)

Dear developers,

image

This problem stops the update/refresh button working, and users has no other easy way to do a new query, which makes Kibana unusable.

It seems this is fixed on master but broken on 7.4.

I wonder, is there a plan to release a new version to address this bug?

Thanks for your attention and efforts.

This issue is normally fixed in Kibana 7.5 which has just been released.

I can confirm the error Uncaught TypeError: Cannot read property 'addWarning' of undefined is resolved in Kibana 7.5.0.

Many thanks, elastic developers.

thanks for confirmation!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Ginja picture Ginja  路  3Comments

timmolter picture timmolter  路  3Comments

bhavyarm picture bhavyarm  路  3Comments

MaartenUreel picture MaartenUreel  路  3Comments

ctindel picture ctindel  路  3Comments