-
Notifications
You must be signed in to change notification settings - Fork 897
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
Use fetch_path to handle the case where :ws_values is nil. #14797
Conversation
When :ws_values is nil, CustomizationTemplate.substitute_erb throws out [NoMethodError]: undefined method `[]' for nil:NilClass. https://bugzilla.redhat.com/show_bug.cgi?id=1436194
Checked commit lfu@fbf87f1 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 |
@miq-bot assign @gmcculloug |
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.
👍 LGTM
Use fetch_path to handle the case where :ws_values is nil. (cherry picked from commit 1a4bcfb) https://bugzilla.redhat.com/show_bug.cgi?id=1443571
Fine backport details:
|
Use fetch_path to handle the case where :ws_values is nil. (cherry picked from commit 1a4bcfb) https://bugzilla.redhat.com/show_bug.cgi?id=1443572
Euwe backport details:
|
When :ws_values is nil, CustomizationTemplate.substitute_erb throws out [NoMethodError]: undefined method `[]' for nil:NilClass.
https://bugzilla.redhat.com/show_bug.cgi?id=1436194