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

Bodhi's update create form does not gracefully handle errors from the backend #3035

Closed
bowlofeggs opened this issue Feb 20, 2019 · 4 comments · Fixed by #3042
Closed

Bodhi's update create form does not gracefully handle errors from the backend #3035

bowlofeggs opened this issue Feb 20, 2019 · 4 comments · Fixed by #3042
Labels
JS Issues pertaining to Bodhi's JavaScript code WebUI Issues pertaining to Bodhi's web interface

Comments

@bowlofeggs
Copy link
Contributor

When users were hitting #3024, the web form's submit button would spin until it hit the error and then it would stop spinning, but no error was reported to the user. This made it non-obvious that there was a problem, and also made it more difficult to determine what the real problem was.

The web form (and all of Bodhi's forms) should be able to display errors from the backend to the user on non-2xx codes.

@bowlofeggs bowlofeggs added JS Issues pertaining to Bodhi's JavaScript code WebUI Issues pertaining to Bodhi's web interface labels Feb 20, 2019
@sebwoj
Copy link
Collaborator

sebwoj commented Feb 21, 2019

It looks like duplication of #2312

sebwoj added a commit to sebwoj/bodhi that referenced this issue Feb 26, 2019
@bowlofeggs
Copy link
Contributor Author

@sebwoj ah yeah, I guess it is ultimately the same thing. The other one is a bit more specific though I guess. Thanks!

bowlofeggs pushed a commit to sebwoj/bodhi that referenced this issue Mar 13, 2019
mergify bot pushed a commit that referenced this issue Mar 13, 2019
@bowlofeggs bowlofeggs mentioned this issue Mar 22, 2019
3 tasks
mergify bot pushed a commit that referenced this issue Mar 26, 2019
Fixes #3035

Signed-off-by: Sebastian Wojciechowski <[email protected]>
(cherry picked from commit 2d30986)

# Conflicts:
#	bodhi/server/views/generic.py
abompard pushed a commit that referenced this issue Mar 26, 2019
Fixes #3035

Signed-off-by: Sebastian Wojciechowski <[email protected]>
(cherry picked from commit 2d30986)
abompard pushed a commit that referenced this issue Mar 26, 2019
Fixes #3035

Signed-off-by: Sebastian Wojciechowski <[email protected]>
(cherry picked from commit 2d30986)
abompard pushed a commit that referenced this issue Mar 26, 2019
Fixes #3035

Signed-off-by: Sebastian Wojciechowski <[email protected]>
(cherry picked from commit 2d30986)
abompard pushed a commit that referenced this issue Mar 27, 2019
Fixes #3035

Signed-off-by: Sebastian Wojciechowski <[email protected]>
(cherry picked from commit 2d30986)
abompard pushed a commit that referenced this issue Mar 27, 2019
Fixes #3035

Signed-off-by: Sebastian Wojciechowski <[email protected]>
(cherry picked from commit 2d30986)
abompard pushed a commit that referenced this issue Mar 27, 2019
Fixes #3035

Signed-off-by: Sebastian Wojciechowski <[email protected]>
(cherry picked from commit 2d30986)
@bowlofeggs
Copy link
Contributor Author

A fix for this issue is planned for inclusion in the upcoming 4.0.0 release: #3221

@bowlofeggs
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
JS Issues pertaining to Bodhi's JavaScript code WebUI Issues pertaining to Bodhi's web interface
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants