Bug 1377603

Summary: Middleware - Deploy newer version of existing archive fails without option
Product: Red Hat CloudForms Management Engine Reporter: Hayk Hovsepyan <hhovsepy>
Component: UI - OPSAssignee: Karel Hala <khala>
Status: CLOSED EOL QA Contact: Matt Mahoney <mmahoney>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: abonas, dajohnso, hkataria, jhardy, khala, mmahoney, mpovolny, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, Triaged
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: Hawkular
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1444055 (view as bug list) Environment:
Last Closed: 2018-03-06 14:46:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Middleware Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1444055    

Description Hayk Hovsepyan 2016-09-20 08:13:54 UTC
Description of problem:
When user tries to deploy the newer version of existing archive with the same runtime name, deployment fails with message: "Deployment {} already exists on this server." 
But is should give the user the option to proceed or cancel the deployment.

Version-Release number of selected component (if applicable):
DR2

How reproducible:
always

Steps to Reproduce:
1. Go to Middleware Server.
2. Deploy some archive, give a runtime name while deploying.
3. Make sure deployment is successful and visible.
4. Select another archive to upload but giving the same runtime name as in step2.
It will fail to deploy.

Actual results:
Deployment fails with message "Deployment {} already exists on this server."

Expected results:
According to the new requirements in "OPR-032a", it should give the user the option to Proceed or Cancel the deployment.

Comment 3 Karel Hala 2017-04-20 13:17:18 UTC
Pull request which fixes this bug was merged, retest on latest master.

See: https://github.com/ManageIQ/manageiq-ui-classic/pull/944

Comment 7 Hayk Hovsepyan 2017-10-10 12:02:04 UTC
Verified on 5.9.0.1.20171004215954_13427ce