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

"Query is empty" error is displayed after attempt to open custom filter that was saved in "Tests Query Editor" #1174

Open
dmytro-lgtm opened this issue Nov 29, 2024 · 0 comments
Labels
bug something isn't working

Comments

@dmytro-lgtm
Copy link

Describe the bug
Can't open custom filter that was saved in "Tests Query Editor"

To Reproduce

  1. Click the "Query Language Editor" button
  2. Enter label == 'Desktop' query and click the "Save" button
  3. Enter the query name and click the "Save" button
  4. Click saved filter link in the "Saved Queries" section

Actual result: "Error" pop-up with text "Query is empty" appears. Next console error is thrown:

Uncaught (in promise) Error: Illegal argument
    at p (editor.main.js:sourcemap:10:960)
    at Wt.setValue (editor.main.js:sourcemap:640:461)
    at e.StandaloneEditor.setValue (editor.main.js:sourcemap:655:97)
    at frame.js:sourcemap:1362:18
    at m._invokeFactory (loader.js:8:1491)
    at m.complete (loader.js:8:1706)
    at c._onModuleComplete (loader.js:9:1051)
    at c._resolve (loader.js:9:510)
    at c.defineModule (loader.js:8:5548)
    at r (loader.js:9:2178)

Expected behavior
The saved filter is shown

Screenshots
Screenshot 2024-11-29 at 17 25 19

Desktop (please complete the following information):

  • OS: MacOS 15.1.1
  • Browser Chrome
  • Browser Version 131.0.6778.86
  • Application: production

Additional context
Add any other context about the problem here.

@dmytro-lgtm dmytro-lgtm added the bug something isn't working label Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant