Bug 998925

Summary: [origin_ui_66] It passed when add user variable like `rhc env set == -a $app_name`
Product: OpenShift Online Reporter: weiwei jiang <wjiang>
Component: ocAssignee: Fabiano Franz <ffranz>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 2.xCC: wsun, xtian
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-29 12:53:44 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 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