action #158859
openSyntaxError: Unexpected token '<', " when searching for "- {}" in the web UI
0%
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¶
- This likely never worked
Work-around¶
- Manually checkout all relevant job templates e.g. from https://gitlab.suse.de/openqa/all-yaml and use
git grep
Updated by livdywan 8 months ago
- 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
Updated by mkittler 8 months ago
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.
Updated by mkittler 8 months ago
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