Bug 1429311

Summary: SUI : Duplicate order does not provision the service
Product: Red Hat CloudForms Management Engine Reporter: Shveta <sshveta>
Component: APIAssignee: Allen W <awight>
Status: CLOSED CURRENTRELEASE QA Contact: Shveta <sshveta>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.8.0CC: dclarizi, jhardy, obarenbo, simaishi, sshveta, twade
Target Milestone: GAKeywords: Reopened, TestOnly
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ssui
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1438599 (view as bug list) Environment:
Last Closed: 2018-03-06 14:56:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1438599    
Attachments:
Description Flags
empty service
none
no option to duplicate order
none
OH ok that behavior is changed, if you click on the carat, thing on the farthest left, you'll see... this none

Description Shveta 2017-03-06 04:24:42 UTC
Created attachment 1260263 [details]
empty service

Description of problem:


Version-Release number of selected component (if applicable):
master.20170305174553_8768333

How reproducible:


Steps to Reproduce:
1. Create few service in SUI.
2. Click on any order with a VM and duplicate.
3. Duplicated order is shown but it's empty . does not provision the service again.

Actual results:


Expected results:


Additional info:

Comment 2 Chris Hale 2017-03-08 18:32:01 UTC
I tried to duplicate an order and I took a look at the API requests.  The API responded  as expected.  I believe the issue could be with API and how it handles the duplicate API call.   Please consult with the API team to investigate.

Comment 3 Tim Wade 2017-03-14 22:24:55 UTC
Closing as duplicating a service order should not provision the services - this is working as intended. If you believe this to still be an issue feel free to re-open with more information provided.

Comment 4 Shveta 2017-03-15 16:04:46 UTC
Hi TIm , 

Can you please tell what is the purpose of duplicate order ? 
 It just creates and empty order now.

Thanks, 
Shveta

Comment 5 Allen W 2017-03-27 20:54:29 UTC
Can confirm, the behavior here is a little muddled, looking into will report back shortly.

Comment 6 Allen W 2017-03-30 15:34:19 UTC
When I said shortly I meant.... :P

so good news on this front, duplicating orders that were of state cart caused a huge mess, that is now resolved here:
https://github.com/ManageIQ/manageiq/pull/14564#issuecomment-290401287

shortly there will be a pr that will add duplicated orders to the cart :+1:

Comment 9 Shveta 2017-10-31 19:30:44 UTC
Orders cannot be duplicated .
Verified in 5.9.0.4.20171024163837_ef71ea6

Comment 10 Allen W 2017-10-31 19:38:37 UTC
Wait I'm confused, whats going on with this?

Comment 11 Shveta 2017-10-31 20:01:00 UTC
Created attachment 1346089 [details]
no option to duplicate order

Only remove option is present for Order.
No option to duplicate.

Comment 12 Allen W 2017-10-31 20:18:44 UTC
Created attachment 1346095 [details]
OH ok that behavior is changed, if you click on the carat, thing on the farthest left, you'll see... this

can still duplicate orders.

Comment 13 Shveta 2017-10-31 20:36:15 UTC
OK checked - able to duplicate order and provision service.