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

[GAPRINDASHVILI] Add mark_retired method to not reset retirement_requester #18376

Merged

Conversation

d-m-u
Copy link
Contributor

@d-m-u d-m-u commented Jan 21, 2019

Because we have a column name and a method name that are equivalent, finish_retirement used to reset the retirement_requester to nil. Changing the method to call a different method that only sets the field name prevents this from being reset to nil at the end.

Backport of #18325

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1641812

@miq-bot add_label bug, blocker
@miq-bot assign @gmcculloug

@miq-bot miq-bot changed the title Add mark_retired method to not reset retirement_requester [GAPRINDASHVILI] Add mark_retired method to not reset retirement_requester Jan 21, 2019
@d-m-u d-m-u force-pushed the stop_reset_of_retirement_requester branch 2 times, most recently from 97d7c1f to cf47ff8 Compare January 21, 2019 15:46
@simaishi simaishi assigned simaishi and unassigned gmcculloug Jan 21, 2019
@d-m-u d-m-u force-pushed the stop_reset_of_retirement_requester branch 4 times, most recently from 99b576d to a54a2b2 Compare January 21, 2019 18:06
@d-m-u d-m-u force-pushed the stop_reset_of_retirement_requester branch from a54a2b2 to a384e28 Compare January 21, 2019 21:45
@miq-bot
Copy link
Member

miq-bot commented Jan 21, 2019

Checked commit d-m-u@a384e28 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
4 files checked, 0 offenses detected
Everything looks fine. ⭐

@simaishi simaishi merged commit 5d837f5 into ManageIQ:gaprindashvili Jan 22, 2019
@simaishi simaishi added this to the Sprint 104 Ending Feb 4, 2019 milestone Jan 22, 2019
@d-m-u d-m-u deleted the stop_reset_of_retirement_requester branch February 1, 2019 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants