[
https://issues.apache.org/jira/browse/ATLAS-2626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Madhan Neethiraj updated ATLAS-2626:
------------------------------------
Affects Version/s: 1.0.0
Fix Version/s: 1.0.0
> 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
> Affects Versions: 1.0.0
> Reporter: Apoorv Naik
> Assignee: Apoorv Naik
> Priority: Major
> Fix For: 1.0.0
>
>
> 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)