-
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
Removes last call to automate from dialog_field serializer #17436
Removes last call to automate from dialog_field serializer #17436
Conversation
@miq-bot add_label bug |
fef9113
to
7aded49
Compare
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.
Needs a spec but otherwise 👍
As for how to test, maybe stub dialog_field.values
when the field is dynamic and ensure that it isn't called.
7aded49
to
5415cc1
Compare
Checked commit d-m-u@5415cc1 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 |
@eclarizio Specs added. Please take another look |
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.
Cool, looks good. Do you think we will need this in gaprindashvili to complement the changes made in #17329 ?
@eclarizio yeah, i believe so |
This fixed my issue. Once @eclarizio signs off on the specs, I'm good to go. Thanks @d-m-u 👏 |
@eclarizio Let's associate this PR with BZ https://bugzilla.redhat.com/show_bug.cgi?id=1570298. |
@d-m-u Cannot apply the following label because they are not recognized: all_the_bugs_are_scared_of_brandon |
Removes last call to automate from dialog_field serializer (cherry picked from commit 1009681) Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1589837
Gaprindashvili backport details:
|
The field serializer shouldn't be calling automate, so any call to values needs to be removed. I think this was the last one. We've had multiple issues with automate running more times than it needs to and this is at least partially a fix for those type of issues.
Should fix #17446
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1570298