action #158859
open
SyntaxError: Unexpected token '<', " when searching for "- {}" in the web UI
Added by livdywan 7 months ago.
Updated 7 months ago.
Category:
Feature requests
Description
Observation¶
Searching for - {} in the web UI results in an error message:
Search resulted in error: SyntaxError: Unexpected token '<', "
I tried quoting it with ""
but that didn't work and gave no results.
Suggestions¶
Work-around¶
- Copied from action #157774: Empty scenario definitions causing Use of uninitialized value $testsuite_name in hash element in lib/OpenQA/Schema/Result/JobGroups.pm size:S added
The PR will improve the internal error handling: https://github.com/os-autoinst/openQA/pull/5574
Note that I couldn't reproduce the error in the sense that I got an error message. The query just timed out. When trying with additional escaping the query also took very long and I got:
Search resulted in error: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
That's of course yet another problem.
Looks like my attempt to search for this on o3 has just returned after all. But I also just got:
Search resulted in error: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
- Target version set to Ready
- Target version changed from Ready to future
Also available in: Atom
PDF