[
https://issues.apache.org/jira/browse/ATLAS-2023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sarath Subramanian resolved ATLAS-2023.
---------------------------------------
Resolution: Not A Problem
This is by design. When updating a classification type to add new attributes
we do not populate default values since we may need to update all its
associated instances to add the new default values for the attribute. This is a
costly operation - As a tag may be associated with any number of entities.
> Default value set as "null" for newly added tag attributes.
> -----------------------------------------------------------
>
> Key: ATLAS-2023
> URL: https://issues.apache.org/jira/browse/ATLAS-2023
> Project: Atlas
> Issue Type: Bug
> Components: atlas-core
> Affects Versions: 0.9-incubating
> Reporter: Sharmadha Sainath
> Assignee: Keval Bhatt
>
> 1. Created a tag 'tag1' with attributes int1,date1
> 2. Associated the tag 'tag1' to an entity 'entity1' without specifying value
> to the attributes. Default values are set to the tag attributes :
> (i.e) 0 for int1
> Fri Aug 04 2017 00:00:00 GMT+0530 (current date) for date1
> 3. Added 2 more attributes to 'tag1' - int2 ,date2.
> 4. Expected that default values would be set for new tag attributes of
> 'entity1' . But null is set for int2 and date , which on UI shows as '-' for
> int2 and 'invalid date' for date2.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)