Umesh Padashetty created ATLAS-3694:

             Summary: [Business Metadata] Max length defined for attributes of 
string type is not getting enforced
                 Key: ATLAS-3694
             Project: Atlas
          Issue Type: Bug
          Components:  atlas-core, atlas-webui
            Reporter: Umesh Padashetty
         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.
curl -X POST \
  -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

Reply via email to