Sharmadha Sainath created ATLAS-1645:
----------------------------------------
Summary: Tag is not associated when value for optional attributes
are not provided for byte ,date, double,float,short,int.
Key: ATLAS-1645
URL: https://issues.apache.org/jira/browse/ATLAS-1645
Project: Atlas
Issue Type: Bug
Reporter: Sharmadha Sainath
Attachments: Empty value for tag attributes exception.txt
1. Created 8 tags.
2. Each tag with one attribute of types byte,date, double,float,short,int,
string,boolean.
3. Associated all the tags to an entity one by one without providing any value
for the tag attribute.
4.Only tags with string and boolean as types got associated. Rest of the tag
association threw 500 internal server error as empty values are treated as
string and are validated against the datatype.
Trait attribute values are optional ,so empty values should be handled.
Following types expect value :
- byte
- date
- double
- float
- short
- int
Attached exception stack trace when associating an entity, a PII tag with
attribute id of type int ,with no value for id.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)