Bug 980804 - Alias can be created with capitalized chars but cannot be deleted with the same name
Summary: Alias can be created with capitalized chars but cannot be deleted with the sa...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: oc
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Ravi Sankar
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-03 09:35 UTC by Meng Bo
Modified: 2015-05-15 02:23 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-22 15:20:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Meng Bo 2013-07-03 09:35:30 UTC
Description of problem:
Add alias to app with capitalized chars in name, (like TEST.com) it will get success. But when deleting the alias with the same name, it will say cannot find the alias with the name.

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

How reproducible:
always

Steps to Reproduce:
1.Create app
2.Add alias with capitalized char to the app
$rhc alias add app1 TEST.com
3.Delete the alias with the same name
$rhc alias remove app1 TEST.com

Actual results:
$rhc alias remove diy1 TTEST.com
Alias TTEST.com can't be found in application .

Expected results:
Alias should be deleted with capitalized char as well.

Additional info:

Comment 1 Ravi Sankar 2013-07-09 00:11:04 UTC
Fixed in https://github.com/openshift/rhc/pull/420

Comment 2 openshift-github-bot 2013-07-09 20:28:03 UTC
Commits pushed to master at https://github.com/openshift/rhc

https://github.com/openshift/rhc/commit/d4467171850cf4246aacdaf242cfc0e40c7d9321
Bug 980804 - Alias name need to be in lower case while comparing with existing app aliases

https://github.com/openshift/rhc/commit/ac0efc2a98a31c81232161d053d1301e25ad265c
Merge pull request #420 from pravisankar/dev/ravi/bug980804

Merged by openshift-bot

Comment 3 Meng Bo 2013-07-10 08:02:54 UTC
Test on devenv_3471 with rhc client on instance. Issue fixed.

[root@ip-10-152-170-195 ~]# rhc alias add ruby19 FFF.com-com
Alias 'FFF.com-com' has been added.
[root@ip-10-152-170-195 ~]# rhc alias remove ruby19 FFF.com-com
Alias 'FFF.com-com' has been removed.


Move bug to verified.


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