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

Restrict ServiceOrder deep_copy to non-cart states #14564

Merged
merged 1 commit into from Mar 30, 2017
Merged

Restrict ServiceOrder deep_copy to non-cart states #14564

merged 1 commit into from Mar 30, 2017

Conversation

jntullo
Copy link

@jntullo jntullo commented Mar 29, 2017

Copying a ServiceOrder should be restricted to those that are not in the cart for the purpose of it becoming a new cart that can be ordered.

@miq-bot bug, services
cc: @AllenBW @imtayadeway

@miq-bot
Copy link
Member

miq-bot commented Mar 29, 2017

@jntullo unrecognized command 'bug', ignoring...

Accepted commands are: add_label, assign, close_issue, move_issue, remove_label, rm_label, set_milestone

@jntullo
Copy link
Author

jntullo commented Mar 29, 2017

@miq-bot add_label bug, services

@miq-bot
Copy link
Member

miq-bot commented Mar 29, 2017

Checked commit jntullo@aaeb1de with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
3 files checked, 0 offenses detected
Everything looks good. 🏆

@AllenBW
Copy link
Member

AllenBW commented Mar 29, 2017

Hey I really like this pr, like REALLY really like ;-)

@gmcculloug gmcculloug merged commit 5ce005b into ManageIQ:master Mar 30, 2017
@gmcculloug gmcculloug added this to the Sprint 58 Ending Apr 10, 2017 milestone Mar 30, 2017
@gmcculloug
Copy link
Member

@jntullo Please label fine/yes or fine/no

@jntullo
Copy link
Author

jntullo commented Mar 30, 2017

@miq-bot add_label fine/yes

simaishi pushed a commit that referenced this pull request Mar 30, 2017
Restrict ServiceOrder deep_copy to non-cart states
(cherry picked from commit 5ce005b)
@simaishi
Copy link
Contributor

Fine backport details:

$ git log -1
commit a73e205ad471a28b1d0747ab168a149668f2ce42
Author: Greg McCullough <gmccullo@redhat.com>
Date:   Wed Mar 29 21:19:12 2017 -0400

    Merge pull request #14564 from jntullo/bug/no_duplicates_in_cart_state
    
    Restrict ServiceOrder deep_copy to non-cart states
    (cherry picked from commit 5ce005bb845c841ce2af65a19e985253f82a63d2)

@jntullo jntullo deleted the bug/no_duplicates_in_cart_state branch April 11, 2017 14:20
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.

None yet

5 participants