Bug 1505782

Summary: Should not display the delete icon in the Environment tab of pod page
Product: OpenShift Container Platform Reporter: shahan <hasha>
Component: Management ConsoleAssignee: CD Cabrera <ccabrera>
Status: CLOSED CURRENTRELEASE QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.7.0CC: aos-bugs, jokerman, mmccomas, spadgett
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:59:51 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:

Description shahan 2017-10-24 09:49:54 UTC
Description of problem:
 Should not display the delete link "X" in the Environment tab of pod page

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

How reproducible:
  Always

Steps to Reproduce:
1. oc run myrun --image=aosqe/hello-openshift
2. Go to Web console page and enter the Environment tab of pod page


Actual results:
  Will have unnecessary the delete icon at the end of a sentence, like:
No secrets or config maps have been added as Environment From.      X. 
  After clicking "X" link, clear changes link appears.

Expected results:
 Should not have the delete icon

Additional info:

Comment 1 openshift-github-bot 2017-10-24 19:32:02 UTC
Commit pushed to master at https://github.com/openshift/origin-web-console

https://github.com/openshift/origin-web-console/commit/849dda4189875e3a48e104905f1bbabad296b19b
Merge pull request #2238 from cdcabrera/issue-envfrom-readonly

Automatic merge from submit-queue.

Bug 1505782 - Environment From Fix Drag & Order Display

Fix for making sure the drag and drop/order handles are hidden within a read only display. Related to #2182 

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

Comment 4 shahan 2017-10-31 03:15:30 UTC
Checked this issue on OCP v3.7.0-0.184.0 and the "X" link disappears. Also test Add/delete Config Map/Secret is also worked. Changed status to verified.