Bug 1748855 - blank page returned when loading environment variable editor on deploy image page
Summary: blank page returned when loading environment variable editor on deploy image ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.2.0
Assignee: cvogt
QA Contact: Ruchir Garg
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-09-04 10:12 UTC by Yadan Pei
Modified: 2019-10-16 06:40 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-16 06:40:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 2578 0 None None None 2019-09-04 16:49:38 UTC
Red Hat Product Errata RHBA-2019:2922 0 None None None 2019-10-16 06:40:41 UTC

Description Yadan Pei 2019-09-04 10:12:46 UTC
Description of problem:
When loading environment variable editors in Deploy Image page, blank page returned

Version-Release number of selected component (if applicable):
4.2.0-0.nightly-2019-09-03-102130

How reproducible:
Always

Steps to Reproduce:
1. User create a project, then goes to Developer Console
2. Choose Container Image from developer catalog
3. Set Image Name as 'aosqe/hello-openshift' and search
4. Click on 'Deployment Configuration' in Advanced Options

Actual results:
4. page goes to blank and js error returned 
TypeError: "this.currentEnvVars[e] is undefined"
    getEnvVarByTypeAndIndex dev-console-deployImage-chunk-3662c14942e6dcc11a41.min.js:1
    render dev-console-deployImage-chunk-3662c14942e6dcc11a41.min.js:1
    ki vendors~main-chunk-bff8b847536bfce9e9ef.min.js:122348
    Ti vendors~main-chunk-bff8b847536bfce9e9ef.min.js:122348
    Mi vendors~main-chunk-bff8b847536bfce9e9ef.min.js:122348
    Va vendors~main-chunk-bff8b847536bfce9e9ef.min.js:122348
    qa vendors~main-chunk-bff8b847536bfce9e9ef.min.js:122348
    ku vendors~main-chunk-bff8b847536bfce9e9ef.min.js:122348
    Au vendors~main-chunk-bff8b847536bfce9e9ef.min.js:122348
    wu vendors~main-chunk-bff8b847536bfce9e9ef.min.js:122348
    Ja vendors~main-chunk-bff8b847536bfce9e9ef.min.js:122348
    enqueueSetState vendors~main-chunk-bff8b847536bfce9e9ef.min.js:122348
    setState vendors~main-chunk-bff8b847536bfce9e9ef.min.js:122313
    componentDidMount dev-console-deployImage-chunk-3662c14942e6dcc11a41.min.js:1
    a vendors~main-chunk-bff8b847536bfce9e9ef.min.js:117464
    j vendors~main-chunk-bff8b847536bfce9e9ef.min.js:117464
    l vendors~main-chunk-bff8b847536bfce9e9ef.min.js:117464
backend.js:1:11464


Expected results:
4. there should be no errors 

Additional info:

Comment 1 cvogt 2019-09-04 13:06:50 UTC
https://jira.coreos.com/browse/ODC-1754

Comment 3 Yadan Pei 2019-09-11 08:00:50 UTC
When click on 'Deployment Configuration' or 'Build Configuration' in Advanced Options, environment variable editors can be loaded successfully.

User can add key/value & values from configmap/secret successfully

Verified on 4.2.0-0.nightly-2019-09-10-181551

Comment 4 errata-xmlrpc 2019-10-16 06:40:32 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/RHBA-2019:2922


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