Bug 1376383 - [dev-preview-stg] Cannot delete empty environment variable on build-config edit web page
Summary: [dev-preview-stg] Cannot delete empty environment variable on build-config ed...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Management Console
Version: 3.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: bpeterse
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-15 09:46 UTC by Eduard Trott
Modified: 2016-09-20 12:51 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-20 12:51:41 UTC
Target Upstream Version:


Attachments (Terms of Use)
Screenshot (91.46 KB, image/png)
2016-09-15 09:46 UTC, Eduard Trott
no flags Details

Description Eduard Trott 2016-09-15 09:46:12 UTC
Created attachment 1201165 [details]
Screenshot

Description of problem:

Can't delete empty environment variable on build-config edit page.

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

dev_preview_stg
OpenShift Master:  v3.2.1.15-8-gc402626
Kubernetes Master: v1.2.0-36-g4a3f9c5 

How reproducible:
Always

Steps to Reproduce:
1. Create new app using default "dancer-mysql-example" template.
2. Go to build-config edit page
3. Click on "✕" near CPAN_MIRROR env variable.

Actual results:
Nothing happens

Expected results:
Environment variable should be deleted

Additional info:
If value is changed to non-empty then environment variable could be deleted

$ oc get template dancer-mysql-example -n openshift -o json
...
{
    "name": "CPAN_MIRROR",
    "displayName": "Custom CPAN Mirror URL",
    "description": "The custom CPAN mirror URL"
}
...

Comment 1 Eduard Trott 2016-09-15 10:34:13 UTC
Can be reproducible only until this bug is not resolved
https://bugzilla.redhat.com/show_bug.cgi?id=1376386

Comment 2 Jessica Forrester 2016-09-16 15:09:37 UTC
@bpeterse can you verify that this is fixed with the new env var editor

Comment 3 bpeterse 2016-09-16 15:10:59 UTC
Will do.

Comment 4 Vu Dinh 2016-09-19 20:16:11 UTC
We can delete ENV VAR on INT cluster which is based on v3.3.0.30.

Thanks,
Vu

Comment 5 bpeterse 2016-09-20 01:20:48 UTC
Great, thanks Vu!

Comment 6 Vu Dinh 2016-09-20 12:51:41 UTC
The INT cluster with OCP 3.3 allows users to delete ENV VAR via UI. The STG cluster will eventually upgraded to 3.3 and will have that capability as well.

Will close this bug as NEXTRELEASE.

Thanks,
Vu


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