Red Hat Bugzilla – Bug 980804
Alias can be created with capitalized chars but cannot be deleted with the same name
Last modified: 2015-05-14 22:23:58 EDT
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):
Steps to Reproduce:
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
$rhc alias remove diy1 TTEST.com
Alias TTEST.com can't be found in application .
Alias should be deleted with capitalized char as well.
Fixed in https://github.com/openshift/rhc/pull/420
Commits pushed to master at https://github.com/openshift/rhc
Bug 980804 - Alias name need to be in lower case while comparing with existing app aliases
Merge pull request #420 from pravisankar/dev/ravi/bug980804
Merged by openshift-bot
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.