Bug 1429311 - SUI : Duplicate order does not provision the service
Summary: SUI : Duplicate order does not provision the service
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: API
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: GA
: 5.9.0
Assignee: Allen W
QA Contact: Shveta
URL:
Whiteboard: ssui
Depends On:
Blocks: 1438599
TreeView+ depends on / blocked
 
Reported: 2017-03-06 04:24 UTC by Shveta
Modified: 2018-03-06 14:56 UTC (History)
6 users (show)

Fixed In Version: 5.9.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1438599 (view as bug list)
Environment:
Last Closed: 2018-03-06 14:56:43 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
empty service (59.29 KB, image/png)
2017-03-06 04:24 UTC, Shveta
no flags Details
no option to duplicate order (90.63 KB, image/png)
2017-10-31 20:01 UTC, Shveta
no flags Details
OH ok that behavior is changed, if you click on the carat, thing on the farthest left, you'll see... this (67.58 KB, image/png)
2017-10-31 20:18 UTC, Allen W
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.