You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Kapildeo Nayak (JIRA)" <ji...@apache.org> on 2018/07/30 13:12:00 UTC

[jira] [Commented] (ATLAS-1645) Tag is not associated when value for optional attributes are not provided for byte ,date, double,float,short,int.

    [ https://issues.apache.org/jira/browse/ATLAS-1645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16561906#comment-16561906 ] 

Kapildeo Nayak commented on ATLAS-1645:
---------------------------------------

[~ssainath],could not reproduce this bug on master and branch-0.8

> 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
>            Priority: Major
>         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
(v7.6.3#76005)