-
Type:
Bug
-
Resolution: Timed out
-
Priority:
Low
-
Component/s: Assets - Service, performance, functionality
-
3
-
Severity 3 - Minor
-
0
Issue Summary
This is reproducible on Data Center: (yes) / (no)
When we have two different object types within the same or a different schema, and each one has a Unique labeled attribute with a similar name, the Unique feature is getting bypassed, allowing us to create new objects with duplicated values for that attribute.
Steps to Reproduce
- Set up a new object schema with two object types;
- Give both object types an attribute, with the same spelling but different capitalization e.g. "attr" and "Attr";
- Set both to be labeled and Unique, and try creating objects in both of these object types. You should be able to bypass the uniqueness in one of the object types;
Expected Results
Objects should not be created for the same object Type using the same attribute value if the Unique flag was enabled for it.
Actual Results
Even if the Unique feature was enabled for these attributes, we can still create objects with the same attribute value.
Workaround
The workaround here would be to rename one of the attributes such that the it's same across all object types in all the schemas. Note: Attribute names are case sensitive, so Hostname and HostName aren't the same.
- mentioned in
-
Page Loading...