Apoorv Naik created ATLAS-2626:
----------------------------------
Summary: Update equals and HashCode for Glossary related objects
Key: ATLAS-2626
URL: https://issues.apache.org/jira/browse/ATLAS-2626
Project: Atlas
Issue Type: Bug
Reporter: Apoorv Naik
Assignee: Apoorv Naik
Created a glossary with
{code:java}
{
"shortDescription":"org",
"displayName": "org",
"longDescription":"organisation"
}
{code}
Used update API to update the usage and language attributes:
{code:java}
{
"guid":"<guid>",
"displayName":"org",
"shortDescription":"org",
"longDescription":"organization",
"qualifiedName":"org",
"language":"English",
"usage":"NA"
}
{code}
The request succeeded but language and usage attributes were not updated .
If new value for shortDescription/longDescription/displayName/qualifiedName is
provided along with language and usage , then all the attributes are updated.
Hence, update is effective only when any of
shortDescription/longDescription/displayName/qualifiedName is modified in the
request. If only usage/language is modified , no actual update is done.
This is true with partial update API (/glossary/<guid>/partial) also.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)