You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Madhan Neethiraj (JIRA)" <ji...@apache.org> on 2018/05/01 20:10:00 UTC

[jira] [Updated] (ATLAS-2625) NPE when glossary anchor is invalid

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

Madhan Neethiraj updated ATLAS-2625:
------------------------------------
    Affects Version/s: 1.0.0

> NPE when glossary anchor is invalid
> -----------------------------------
>
>                 Key: ATLAS-2625
>                 URL: https://issues.apache.org/jira/browse/ATLAS-2625
>             Project: Atlas
>          Issue Type: Bug
>    Affects Versions: 1.0.0
>            Reporter: Apoorv Naik
>            Assignee: Apoorv Naik
>            Priority: Major
>             Fix For: 1.0.0
>
>
> Following POST request to create a term under glossary with invalid glossary GUID throws NPE.
> {code:java}
> /api/atlas/v2/glossary/term
> {  
>    "displayName":"apache",
>    "shortDescription":"",
>    "longDescription":"",
>    "anchor":{  
>       "glossaryGuid":"invalid_glossary_guid",
>       "displayText":"org"
>    }
> }
> {code}
> Expected is 40X error code.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)