Bug 998925 - [origin_ui_66] It passed when add user variable like `rhc env set == -a $app_name`
Summary: [origin_ui_66] It passed when add user variable like `rhc env set == -a $app_...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: oc
Version: 2.x
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
: ---
Assignee: Fabiano Franz
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-20 11:03 UTC by weiwei jiang
Modified: 2016-10-30 22:53 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-29 12:53:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description weiwei jiang 2013-08-20 11:03:02 UTC
Description of problem:
when add a variable via client with the command `rhc env set == -a $app_name`

Version-Release number of selected component (if applicable):
devenv_3678
rhc build from devenv_3677

How reproducible:
always

Steps to Reproduce:
1. Create a app
2. Add a variable via `rhc env set == -a $app_name`
3. Check the output message and check if the variable is added

Actual results:
rhc env set == -a app 
Setting environment variable(s) ... done

rhc env list not contain the variable

Expected results:
It should FAIL and prompt user syntax error or others

Additional info:

Comment 1 Fabiano Franz 2013-08-21 18:03:18 UTC
Pull request: https://github.com/openshift/rhc/pull/444

Comment 2 weiwei jiang 2013-08-22 02:55:49 UTC
Test it on devenv_3683, and it display:
Environment variable(s) not provided.
Please provide at least one environment variable using the syntax
VARIABLE=VALUE. VARIABLE can only contain letters, digits and underscore ('_')
and can't begin with a digit.

so verified this , thx

Comment 3 weiwei jiang 2013-08-22 04:24:06 UTC
And rhc version is rhc build from devenv_3683


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