Bug 1242313 - Template using Custom BuildConfig causes JavaScript error in Console
Summary: Template using Custom BuildConfig causes JavaScript error in Console
Keywords:
Status: CLOSED DUPLICATE of bug 1242312
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 3.0.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: Jessica Forrester
QA Contact: Yanping Zhang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-13 02:20 UTC by Andrew Block
Modified: 2015-07-15 14:48 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-07-15 14:48:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
templ (10.48 KB, text/plain)
2015-07-13 02:20 UTC, Andrew Block
no flags Details

Description Andrew Block 2015-07-13 02:20:12 UTC
Description of problem:

If a custom BuildConfig in defined in a template, when attempting to use the template during the creation of an application from a template, an JavaScript error occurs obscuring the template parameters from being displayed or modified.

The following error is shown in the Chrome (43.0.2357.132 64bit) developer console referencing vendor.js (5301)

TypeError: Cannot read property 'namespace' of undefined
    at scripts.js:2557
    at scripts.js:1600
    at Object.f [as forEach] (vendor.js:3208)
    at n (scripts.js:1598)
    at scripts.js:1671
    at i (vendor.js:5547)
    at vendor.js:5555
    at l.$get.l.$eval (vendor.js:5835)
    at l.$get.l.$digest (vendor.js:5792)
    at l.$get.l.$apply (vendor.js:5857)

The template can still be instantiated successfully from the oc CLI tool


Version-Release number of selected component (if applicable):

OpenShift Enterprise 3.0.0


How reproducible:
Always


Steps to Reproduce:
1. Use Template with custom BuildConfig strategy
2. Using web console, create a new application using the template. 
3. JS error occurs where parameters can not be managed

Actual results:
JavaScript error occurs when creating an application from a template with a Custom BuildConfig

Expected results:
Parameters in a template can be viewed and modified in the web console

Additional info:

Comment 1 Andrew Block 2015-07-13 02:20:44 UTC
Created attachment 1051272 [details]
templ

Comment 3 Jordan Liggitt 2015-07-15 14:48:40 UTC

*** This bug has been marked as a duplicate of bug 1242312 ***


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