You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Umesh Padashetty (Jira)" <ji...@apache.org> on 2020/03/26 14:44:00 UTC
[jira] [Created] (ATLAS-3695) [Business Metadata] Special
characters are being allowed in Attribute Name
Umesh Padashetty created ATLAS-3695:
---------------------------------------
Summary: [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
Reporter: Umesh Padashetty
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
{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)