Details
-
Bug
-
Status: Patch Available
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Background
Currently type can be created/updated with an attribute whose name starts with "__" like __guid.
Example:
"entityDefs": [ { "name": "myType", "superTypes": [], "serviceType": "atlas_core", "typeVersion": "1.0", "attributeDefs": [ { "name": "__myAttrName", "typeName": "string", "cardinality": "SINGLE", "isIndexable": true, "isOptional": true, "isUnique": false } ] } ]
This gets mixed up with system attributes.
Hence attribute names should not be allowed to be started with double underscore or following attribute names (system attribute names) should be restricted when a type is created or updated :
__classificationNames
__modifiedBy
__createdBy
__state
__typeName
__modificationTimestamp
__propagatedClassificationNames
__customAttributes
__isIncomplete
__guid
__timestamp
__labels
Attachments
Attachments
Issue Links
- links to