Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upInvalid query not correctly handled in graph UI #2650
Comments
grobie
added
component/ui
kind/bug
labels
Apr 22, 2017
brian-brazil
closed this
in
#2652
Apr 24, 2017
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 23, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
lock
bot
locked and limited conversation to collaborators
Mar 23, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
grobie commentedApr 22, 2017
What did you do?
Executed an invalid query, like
count{job="kaput"})What did you expect to see?
Error message and no js errors in console.
What did you see instead? Under which circumstances?
Spinner spins forever, errors in js console
The problem is that the new elements display introduced in #2532 doesn't handle failed queries and always tries to extract information provided by
xhr.responseJSON.data.result.length.@Conorbro