[ https://issues.apache.org/jira/browse/ATLAS-3695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sarath Subramanian updated ATLAS-3695: -------------------------------------- Fix Version/s: 2.1.0 > [Business Metadata] Special characters are being allowed in Attribute Name > -------------------------------------------------------------------------- > > Key: ATLAS-3695 > URL: https://issues.apache.org/jira/browse/ATLAS-3695 > Project: Atlas > Issue Type: Bug > Components: atlas-core, atlas-webui > Affects Versions: 2.0.0 > Reporter: Umesh Padashetty > Assignee: Mandar Ambawane > Priority: Major > Fix For: 2.1.0 > > Attachments: Screenshot 2020-03-26 at 8.09.45 PM.png, Screenshot > 2020-03-26 at 8.10.11 PM.png > > > Special characters are not being allowed in the Business Metadata Name, but > are being allowed in the Attribute Name and Description. > Having special characters in Description should be fine, but not in > Attributes name. Attached screenshots. This is reproducible both from UI and > API. Screenshots attached. > {code:java} > curl -X POST \ > 'https://<host>:31443/api/atlas/v2/types/typedefs?type=business_metadata' \ > -H 'cache-control: no-cache' \ > -H 'content-type: application/json' \ > -H 'postman-token: e91ead11-8ff2-8919-3d3e-133a213cd226' \ > -H 'x-xsrf-header: \"\"' \ > -d > '{"enumDefs":[],"structDefs":[],"classificationDefs":[],"entityDefs":[],"businessMetadataDefs":[{"category":"BUSINESS_METADATA","createdBy":"admin","updatedBy":"admin","version":1,"typeVersion":"1.1","name":"Special > Character > Test","description":"^%&*()*&^*()","attributeDefs":[{"name":"&(*^%&*()*&^%$^&*()","typeName":"string","isOptional":true,"cardinality":"SINGLE","valuesMinCount":0,"valuesMaxCount":1,"isUnique":false,"isIndexable":false,"options":{"maxStrLength":"50"}}]}]}' > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)