[ 
https://issues.apache.org/jira/browse/ATLAS-3695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Umesh Padashetty updated ATLAS-3695:
------------------------------------
    Component/s: atlas-webui
                  atlas-core

> [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
>            Reporter: Umesh Padashetty
>            Priority: Major
>
> 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":"^%&amp;*()*&amp;^*()","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)

Reply via email to