[ https://issues.apache.org/jira/browse/ATLAS-3694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mandar Ambawane resolved ATLAS-3694. ------------------------------------ Resolution: Fixed > [Business Metadata] Max length defined for attributes of string type is not > getting enforced > -------------------------------------------------------------------------------------------- > > Key: ATLAS-3694 > URL: https://issues.apache.org/jira/browse/ATLAS-3694 > Project: Atlas > Issue Type: Bug > Components: atlas-core, atlas-webui > Reporter: Umesh Padashetty > Priority: Major > Attachments: Screenshot 2020-03-26 at 7.49.51 PM.png, Screenshot > 2020-03-26 at 7.51.13 PM.png > > > Even when the max length applicable to an attribute is defined as 10, I was > able to add all the alphabets of an english language i.e. a-z, 26 in length, > as the attribute value. > This is reproducible both from API as well as UI. > {code:java} > curl -X POST \ > > 'https://<host>:31443/api/atlas/v2/entity/guid/ab29815d-6d20-44ee-b426-8fba946b72a5/businessmetata?isOverwrite=true' > \ > -H 'cache-control: no-cache' \ > -H 'content-type: application/json' \ > -H 'postman-token: 6c5a0476-ac64-57c9-5845-cbea945fdf99' \ > -H 'x-xsrf-header: \"\"' \ > -d '{"String Length":{"Name":"abcdefghijklmnopqrstuvwxyz"}}' {code} > Screenshots attached. -- This message was sent by Atlassian Jira (v8.3.4#803005)