Bug 1397789 - [userinterface_public_806]Should allow user to change settings when error occurred during adding config files
Summary: [userinterface_public_806]Should allow user to change settings when error occ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Management Console
Version: 3.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Samuel Padgett
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-23 11:09 UTC by Yadan Pei
Modified: 2017-05-30 12:49 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-05-30 12:49:18 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Yadan Pei 2016-11-23 11:09:24 UTC
Description of problem:
When set Path with absolute path(where only relative path is allowed),it will give error,but web console didn't allow user to change their settings 

Version-Release number of selected component (if applicable):
openshift v1.5.0-alpha.0+7b7a447-55

How reproducible:
Always

Steps to Reproduce:
1.Create app from image
Add to project -> Browse Catalog -> php:5.6 -> Set Name: php,  Git Repository URL: https://github.com/openshift/cakephp-ex.git  -> Create
2.Go to dc/php page, click on Add config files
3.Select one secret such as "default-token-*" from list
Set "/data/secret" as Mount Path
Select "Select specific keys and paths"
Pick key "token", set Path: /config/secret.token
Click Add

Actual results:
3.After clicking Add,it gives error info telling user the path must be a relative path, but Path couldn't be edited at all

Expected results:
3.Throwing error is correct, but should also enable user to change the settings

Additional info:

Comment 2 Yadan Pei 2016-11-24 05:46:07 UTC
Checked against openshift v1.5.0-alpha.0+33a69c5-73


When setting Path with absolute ones, the console immediately will give error message "Path must be a relative path. It cannot start with / or contain .. path elements" and "Add" button is disabled, user could change settings to correct before submitting add request 


Move to VERIFIED


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