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

Sharmadha Sainath updated ATLAS-1645:
-------------------------------------
    Component/s:     (was: atlas-webui)
                  atlas-core

> 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
>          Components:  atlas-core
>    Affects Versions: 0.8-incubating
>            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)

Reply via email to