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

Force status removal and default value #15685

Merged
merged 1 commit into from
Jul 31, 2017

Conversation

syncrou
Copy link
Contributor

@syncrou syncrou commented Jul 28, 2017

When we copy the MiqRequest to MiqRequestTask there is a case where status was not passing validation if it was originally set to 'Denied'

This addresses that issue by removing the status column at copy and then setting the default value of status to 'Ok' in the MiqRequestTask

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

@syncrou
Copy link
Contributor Author

syncrou commented Jul 28, 2017

@miq-bot add_label bug, provisioning, services

@miq-bot assign @gmcculloug

@syncrou
Copy link
Contributor Author

syncrou commented Jul 28, 2017

-- cc @tinaafitz

@syncrou syncrou force-pushed the no_longer_copy_denied_state branch from 09ecdf5 to 110aac7 Compare July 28, 2017 21:44
When we copy the MiqRequest to MiqRequestTask there is a case where status was not passing
validation if it was originally set to 'Denied'

This addresses that issue by removing the status column at copy and then setting the default value to 'Ok' in
the MiqRequestTask

https://bugzilla.redhat.com/show_bug.cgi?id=1460158
@syncrou syncrou force-pushed the no_longer_copy_denied_state branch from 110aac7 to 25bdd91 Compare July 31, 2017 13:52
@miq-bot
Copy link
Member

miq-bot commented Jul 31, 2017

Checked commit syncrou@25bdd91 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
3 files checked, 0 offenses detected
Everything looks fine. 🍰

@gmcculloug gmcculloug merged commit 7db49cd into ManageIQ:master Jul 31, 2017
@gmcculloug gmcculloug added this to the Sprint 66 Ending Aug 7, 2017 milestone Jul 31, 2017
@syncrou syncrou deleted the no_longer_copy_denied_state branch July 31, 2017 17:34
simaishi pushed a commit that referenced this pull request Aug 2, 2017
@simaishi
Copy link
Contributor

simaishi commented Aug 2, 2017

Fine backport details:

$ git log -1
commit 37d4f9db01f21467d145b7573f0ca84c8841000f
Author: Greg McCullough <[email protected]>
Date:   Mon Jul 31 10:39:10 2017 -0400

    Merge pull request #15685 from syncrou/no_longer_copy_denied_state
    
    Force status removal and default value
    (cherry picked from commit 7db49cd6f4fdda5cb7bc8dd384b731baf2dfec70)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1477616

simaishi pushed a commit that referenced this pull request Aug 2, 2017
@simaishi
Copy link
Contributor

simaishi commented Aug 2, 2017

Euwe backport details:

$ git log -1
commit ef3d5782322e9cb7d23f00d2fc666c5e52e780ba
Author: Greg McCullough <[email protected]>
Date:   Mon Jul 31 10:39:10 2017 -0400

    Merge pull request #15685 from syncrou/no_longer_copy_denied_state
    
    Force status removal and default value
    (cherry picked from commit 7db49cd6f4fdda5cb7bc8dd384b731baf2dfec70)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1477617

d-m-u pushed a commit to d-m-u/manageiq that referenced this pull request Jun 6, 2018
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