Bug 1374413

Summary: [RFE] Disable 'edit production selection' after a deployment is started
Product: Red Hat Quickstart Cloud Installer Reporter: Landon LaSmith <llasmith>
Component: WebUIAssignee: cchase
Status: CLOSED ERRATA QA Contact: Tasos Papaioannou <tpapaioa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 1.0CC: cchase, jesusr, smallamp, tpapaioa, tsanders
Target Milestone: ---Keywords: Triaged
Target Release: 1.1   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-28 01:39:37 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:
Attachments:
Description Flags
Screenshot of 'edit product selection' visible after deployment starts/finishes none

Description Landon LaSmith 2016-09-08 15:43:56 UTC
Created attachment 1199166 [details]
Screenshot of 'edit product selection' visible after deployment starts/finishes

Description of Enhancement:
Once a deployment is started, 'edit product selection' is still displayed and allows the user to edit an existing deployment while it is being deployed.  Once a deployment starts, all existing input fields are disabled when you go back and review each page so 'edit product selection' shouldn't be enabled.

QCI Media Version: QCI-1.0-RHEL-7-20160902.5-QCI-x86_64-dvd1.iso

How reproducible: 100%

Steps to Reproduce:
1. Create QCI Deployment
2. Start QCI Deployment
3. On 'Installation Progress' page, click 'edit product selection'
4. Add a new product to existing deployment. Add RHV+OSE to existing OSP+CFME deployment
5. Click Next

Actual results: WebUI allows you to add and save the new product options. Viewing deployment validation, will validate based on new products added. 


Expected results: 'edit product selection' is disabled when a deployment is started.


Additional info: *Did not attempt to "deploy" with new products*

Comment 1 cchase 2016-09-09 18:58:19 UTC
https://github.com/fusor/fusor/pull/1222

Removed link if the deployment has started.

Disabled checkboxes on product selection if the deployment is started. (You'll have to navigate to /r/deployments/<:id>/start directly to test)

Comment 2 Tasos Papaioannou 2016-09-23 18:25:35 UTC
Verified on QCI-1.1-RHEL-7-20160922.n.1.

Comment 5 errata-xmlrpc 2017-02-28 01:39:37 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2017:0335