Bug 1402902 - Namespace: Name uniqueness validation is not case-insensitive, like other Automate objects.
Summary: Namespace: Name uniqueness validation is not case-insensitive, like other Aut...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate
Version: 5.7.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.8.0
Assignee: Patrik Kománek
QA Contact: Dmitry Misharov
URL:
Whiteboard: automate
Depends On:
Blocks: 1412291
TreeView+ depends on / blocked
 
Reported: 2016-12-08 15:01 UTC by Milan Falešník
Modified: 2019-08-06 20:05 UTC (History)
5 users (show)

Fixed In Version: 5.8.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1412291 (view as bug list)
Environment:
Last Closed: 2017-06-12 16:41:32 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Milan Falešník 2016-12-08 15:01:07 UTC
Description of problem:
You can add a namespace next to other namespace, where ns_a.lower() == ns_b.lower(). Revealed during negative testing.

Other objects' matching in Automate is done case-insensitive including the paths to reference the Automate objects. This can potentially lead to a confusion.

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

How reproducible:
always

Steps to Reproduce:
0. Create a domain
1. Create a namespace in the domain, called Foo
2. Create a namespace in the domain, called foo

Actual results:
You can create such namespace

Expected results:
You should not be able to create such namespace.

Additional info:

Comment 2 Patrik Kománek 2017-01-05 15:07:06 UTC
solved in https://github.com/ManageIQ/manageiq/pull/13146

Comment 4 Milan Falešník 2017-02-28 14:44:34 UTC
Verified in 5.8.0.2. Now you cannot create such namespaces.


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