Bug 1002685 - /app/console/applications fails for mixed case domains
Summary: /app/console/applications fails for mixed case domains
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Master
Version: 2.x
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Clayton Coleman
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-29 17:35 UTC by Andy Grimm
Modified: 2016-11-08 03:47 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-19 16:48:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Andy Grimm 2013-08-29 17:35:33 UTC
For users with mixed case domain namespaces,  https://openshift.redhat.com/app/console/applications returns a "Domain <XXX> does not exist" error message.

Comment 1 Clayton Coleman 2013-08-29 17:48:35 UTC
Looking up applications by domain isn't downcasing domain ids.  Fixed in https://github.com/openshift/origin-server/pull/3519 and to stage for possible hotfix in https://github.com/openshift/origin-server/pull/3520

Comment 2 openshift-github-bot 2013-08-29 19:03:05 UTC
Commit pushed to master at https://github.com/openshift/origin-server

https://github.com/openshift/origin-server/commit/fcd3dc22413591000f35820be7a9e42cd5c9c1c5
Bug 1002685 - Downcase domain names when fetching applications by domain

The domain_id lookup for applications scoped to a domain was not properly lowercasing the namespace

Comment 3 Jianwei Hou 2013-08-30 02:05:25 UTC
Verified on devenv_3726

Create a domain with mixed cases:
rhc create-domain jHoU

Go to webconsole $broker/app/console/applications, no error is seen.


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