You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Sarath Subramanian (Jira)" <ji...@apache.org> on 2020/04/17 23:49:00 UTC
[jira] [Assigned] (ATLAS-3695) [Business Metadata] Special
characters are being allowed in Attribute Name
[ https://issues.apache.org/jira/browse/ATLAS-3695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sarath Subramanian reassigned ATLAS-3695:
-----------------------------------------
Assignee: Mandar Ambawane
> [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
> Assignee: Mandar Ambawane
> Priority: Major
> 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)