Bug 1504511

Summary: [trello 6zsvyyYu] Back and Next operations forget previously filled in value in ordering template
Product: OpenShift Container Platform Reporter: Xingxing Xia <xxia>
Component: Management ConsoleAssignee: Samuel Padgett <spadgett>
Status: CLOSED CURRENTRELEASE QA Contact: Yadan Pei <yapei>
Severity: low Docs Contact:
Priority: medium    
Version: 3.7.0CC: aos-bugs, jokerman, mmccomas
Target Milestone: ---   
Target Release: 3.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-31 12:58:06 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:
Attachments:
Description Flags
ordering_template_forgets_new_values_after_clicking_BACK none

Description Xingxing Xia 2017-10-20 04:49:50 UTC
Created attachment 1341152 [details]
ordering_template_forgets_new_values_after_clicking_BACK

Description of problem:
Back and Next operations forget previously filled in value in ordering template. See attachment.
Ordering image/serviceclass does not have the issue
FYI, similar to bug 1449268

Version-Release number of selected component (if applicable):
v3.7.0-0.167.0

How reproducible:
Always

Steps to Reproduce:
1. Given there is env with templates shown in home page catalog, click one template to show the panel
2. Go to the template parameters step, add or modify some values for various parameters
3. Back and Next, check the values again

Actual results:
3. The added/modified values are gone and changed to default automatically

Expected results:
3. Should keep the added/modified values

Additional info:
The parameters input boxes for ordering template have multiple-line mode. Serviceclass/image have no. Maybe this is related.

Comment 2 openshift-github-bot 2017-10-20 16:07:03 UTC
Commits pushed to master at https://github.com/openshift/origin-web-console

https://github.com/openshift/origin-web-console/commit/228b886124356999b3bb82b73ae25df945238af9
Bug 1504511 - Remember template values when clicking back

When editing template parameter values, remember the values when the
user clicks back and then forward again. This will still correctly clear
the values if the user switches templates in the "Select from Project"
dialog.

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1504511

https://github.com/openshift/origin-web-console/commit/95cdb0c2785fa6f5637f7e280278151360a79d3a
Merge pull request #2322 from spadgett/process-template-preserve-values

Automatic merge from submit-queue.

Bug 1504511 - Remember template values when clicking back

When editing template parameter values, remember the values when the
user clicks back and then forward again. This will still correctly clear
the values if the user switches templates in the "Select from Project"
dialog.

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1504511

@jeff-phillips-18 @jwforres

Comment 4 Xingxing Xia 2017-10-31 05:24:59 UTC
Verified in v3.7.0-0.184.0. Pre filled/edited values are remembered after Back and Next in ordering template. Regression test in ordering image still works and is not affected