Bug 967683 - Domain can't be deleted normally if trying to delete domain with upper case
Summary: Domain can't be deleted normally if trying to delete domain with upper case
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: Jordan Liggitt
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-28 02:29 UTC by Yan Du
Modified: 2015-05-15 02:23 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-11 04:11:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Yan Du 2013-05-28 02:29:19 UTC
Description of problem:

Domain can't be deleted normally if trying to delete domain with upper case, e.g. create a domain named test, then delete the domain with 'rhc domain delete -n TEST', it will show that Domian TEST not found.


Version-Release number of selected component (if applicable):
devenv_3277


How reproducible:
Always


Steps to Reproduce:
1.Create a domain by 'rhc domain create -n test'
2.Delete domain with the same name but change the chars capitailization 'rhc domain delete -n TEST'


Actual results:
Domain TEST not found.


Expected results:
Domain test should be deleted successfully


Additional info:
the issue only can reproduce when deleting a domian. Test OK with create or update domain

Comment 1 Abhishek Gupta 2013-05-28 16:44:42 UTC
The REST API is able to successfully delete the domain. The CLI is probably doing some validations at its end and failing to ignore the case during comparisons.

Comment 2 Jordan Liggitt 2013-05-28 21:12:01 UTC
Marked as merge in https://github.com/openshift/rhc/pull/392

Comment 3 openshift-github-bot 2013-05-28 22:32:00 UTC
Commit pushed to master at https://github.com/openshift/rhc

https://github.com/openshift/rhc/commit/b923e1141e48a4280dbcaae1590a39637adb7afe
Fix bug 967683 - make domain id matching case-insensitive

Comment 4 Yan Du 2013-05-29 09:31:06 UTC
Test OK using rhc client from devenv_3282.


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