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

[Filters] 'Edit as Query DSL' action throws console error "couldn't load module ace/theme/" #49964

Closed
spong opened this issue Nov 1, 2019 · 7 comments
Labels
bug Fixes for quality problems that affect the customer experience Feature:Filters Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.5.0

Comments

@spong
Copy link
Member

spong commented Nov 1, 2019

Kibana version: 7.5-BC3
Browser version: Chome Version 78.0.3904.70 (Official Build) (64-bit)
Browser OS version: macOS Mojave
Original install method: Elastic Cloud

Describe the bug:

Clicking Edit as Query DSL to edit a filter throws the following error to the console. Similar error as in #49090

Note: Doesn't seem to impact features/functionality

Console Error:
Uncaught SyntaxError: Unexpected token '<'
index.js:17766 Uncaught Error: couldn't load module ace/theme/ or it didn't call define
    at afterLoad (index.js:17766)
    at eval (index.js:4167)
    at Array.forEach (<anonymous>)
    at eval (index.js:4166)
    at _acequire (index.js:88)
    at req (index.js:138)
    at afterLoad (index.js:4162)
    at HTMLScriptElement.s.onload.s.onreadystatechange (index.js:3808)

uncaught_error_when_editing_query_dsl

@spong spong added bug Fixes for quality problems that affect the customer experience Feature:Filters Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.5.0 labels Nov 1, 2019
@elasticmachine
Copy link
Contributor

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

@timroes
Copy link
Contributor

timroes commented Nov 5, 2019

Cc @elastic/kibana-operations this seems to happen now in all places ACE is used. Do you know if we changed anything around how ace/brace is bundled/working in Kibana?

@juankaromo
Copy link

Has this been solved or is it in process? or what state is it in? Thank you!

@tylersmalley
Copy link
Contributor

Noticed some more details which @flash1293 added in #56424

@timroes
Copy link
Contributor

timroes commented Mar 3, 2020

Closing as duplicate of #56424 since the other issue has more information in it.

@timroes timroes closed this as completed Mar 3, 2020
@vidya-kashikar
Copy link

vidya-kashikar commented Apr 29, 2020

I am facing the issue in DSlquery while editing but it is giving different error.is it an open issue or having any fix.This error occurs when I press enter in DslQueryeditor.
Screen Shot 2020-04-29 at 11 07 51 PM

@vidya-kashikar
Copy link

is there anybody facing the same.

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:Filters Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.5.0
Projects
None yet
Development

No branches or pull requests

6 participants