Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1526215 - cannot continue to process template once back to initial page from 'Import YAML/JSON'
cannot continue to process template once back to initial page from 'Import Y...
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console (Show other bugs)
3.7.0
Unspecified Unspecified
medium Severity medium
: ---
: 3.7.z
Assigned To: Samuel Padgett
Yadan Pei
:
Depends On:
Blocks: 1530507
  Show dependency treegraph
 
Reported: 2017-12-14 21:23 EST by shahan
Modified: 2018-01-23 12:59 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Previously, when importing a template as YAML in the web console then clicking "Back" in the wizard, the "Next" button would stop working. The problem has been fixed so that the "Next" button works correctly after clicking "Back" in the "Import YAML" dialog.
Story Points: ---
Clone Of:
: 1530507 (view as bug list)
Environment:
Last Closed: 2018-01-23 12:59:32 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0113 normal SHIPPED_LIVE OpenShift Container Platform 3.7 and 3.6 bug fix and enhancement update 2018-01-23 17:55:59 EST

  None (edit)
Description shahan 2017-12-14 21:23:29 EST
Description of problem:
 cannot continue to process template once back to initial page  from 'Import YAML/JSON'
 
Version-Release number of selected component (if applicable):
 v3.8.18

How reproducible:
Always

Steps to Reproduce:
1. Goto overview page, click 'Add to Project'->'Import YAML/JSON'
2. Browse template json/yaml file, Then click 'Create' and 'Continue' to 'Process the template',
3. Click 'Back' on the 'Template Configuration' step
4. Then click 'Create' and 'Continue' to 'Process the template' again.

Actual results:
4. cannot continue to process template, no response when clicking 'Continue' button.

Expected results:
4. should process template successfully.

Additional info:
Comment 1 Samuel Padgett 2017-12-15 09:37:09 EST
I can reproduce.
Comment 2 Samuel Padgett 2017-12-15 10:38:07 EST
master branch PR: https://github.com/openshift/origin-web-console/pull/2600
Comment 3 openshift-github-bot 2017-12-15 10:40:15 EST
Commits pushed to master at https://github.com/openshift/origin-web-console

https://github.com/openshift/origin-web-console/commit/82397bdd1a81c75f194442b46662b50d999488db
Bug 1526215 - Fix back button behavior in Import YAML dialog

Clicking back from the "Template Configuration" step can prevent the
user from being able to click next again in the wizard in the Import
YAML dialog. This is because the `ctrl.currentStep` value is not reset
to the first step title after the user clicks back. Sine the wizard is
watching for changes to `ctrl.currentStep` and the value never changes
when the user clicks next again, the wizard doesn't advance.

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

https://github.com/openshift/origin-web-console/commit/ed2804e5c9872d176b6225cfcd85e0f7916b6200
Merge pull request #2600 from spadgett/import-yaml-current-step

Automatic merge from submit-queue.

Bug 1526215 - Fix back button behavior in Import YAML dialog

Clicking back from the "Template Configuration" step can prevent the
user from being able to click next again in the wizard in the Import
YAML dialog. This is because the `ctrl.currentStep` value is not reset
to the first step title after the user clicks back. Sine the wizard is
watching for changes to `ctrl.currentStep` and the value never changes
when the user clicks next again, the wizard doesn't advance.

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

/kind bug
/assign @benjaminapetersen
Comment 4 Samuel Padgett 2017-12-15 16:50:36 EST
3.7 PR: https://github.com/openshift/origin-web-console/pull/2604
Comment 6 shahan 2018-01-03 02:12:47 EST
Checked this issue on the OCP v3.7.16, it had been fixed, Changed status to Verified.
Comment 9 errata-xmlrpc 2018-01-23 12:59:32 EST
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/RHBA-2018:0113

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