Bug 1258972

Summary: Page refreshed during deployment step 1 leads to new deployment, changes not saved
Product: Red Hat Quickstart Cloud Installer Reporter: Antonin Pagac <apagac>
Component: WebUIAssignee: jmagen <jmagen>
Status: CLOSED WONTFIX QA Contact: Dave Johnson <dajohnso>
Severity: low Docs Contact:
Priority: unspecified    
Version: 1.0CC: jmagen, jmatthew
Target Milestone: gaKeywords: Triaged
Target Release: 1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-16 12:10:16 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: 1278053    

Description Antonin Pagac 2015-09-01 15:49:33 UTC
Description of problem:
During the first step of RHCI deployment (the Satellite configuration step - 1A, 1B, 1C), if I refresh the page, it leads me to New Deployment page. It does not retain any information I submitted in any of the sub-steps. The deployment is not saved.
If I continue to step 2 and try to refresh page, it behaves as expected: my data are there and the page stays the same.

Version-Release number of selected component (if applicable):
rc4 - RHCI-6.0-RHEL-7-20150829.0-RHCI-x86_64-dvd1.iso

How reproducible:
Always

Steps to Reproduce:
1. Navigate to New Deployment page, click Select
2. Input any data in any of the steps 1A, 1B, 1C
3. Refresh the page

Actual results:
New Deployment page is displayed; all previously input data are lost; deployment is not saved

Expected results:
After hitting refresh, show current page - the one I refreshed; retain information from previous steps; save the deployment so that edit is possible

Additional info:

Comment 2 jmagen@redhat.com 2015-11-15 13:25:39 UTC
This is a known issue and expected behavior and I don't think it's more fixing by creating a separate Local Storage adapter for a new deployment before it is persisted in the database. The amount of data entry that is not saved is only 
* name
* environment name
(org is defaulted)

That's about max 10 seconds of work if a user refreshes to re-enter.

Comment 3 John Matthews 2015-11-16 12:10:16 UTC
Moving to CLOSED.