-
Notifications
You must be signed in to change notification settings - Fork 92
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
Fixes unfriendly message when adding network for unavailable provider #264
Fixes unfriendly message when adding network for unavailable provider #264
Conversation
Unavailable provider: +/- Cloud Network returns friendly error Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1510769
Checked commit slemrmartin@0bbc144 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 |
+1 Looks like a fine fix, but I do have to wonder why it's even possible to choose unavailable providers :) |
That's because provider can become unavailable (maitenance, some newly installed proxy, bad configured firewall etc.). And there is no validation of all providers each time you want add network (only for making select items list) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@slemrmartin Can this be |
can be |
…-message Fixes unfriendly message when adding network for unavailable provider (cherry picked from commit e093c84) https://bugzilla.redhat.com/show_bug.cgi?id=1566570
Gaprindashvili backport details:
|
Create/Update/Delete Cloud Network caused unfriendly message when provider unavailable (fix)
BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1510769
@miq-bot add_label bug
Cc @Ladas
Steps to reproduce:
In Networks -> Networks:
Actual results:
Unfriendly error message. ("undefined method `response' for <...> Did you mean? respond_to?")
Expected results:
Message should be friendly.