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

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

Apoorv Naik created ATLAS-2625:
----------------------------------

             Summary: NPE when glossary anchor is invalid
                 Key: ATLAS-2625
                 URL: https://issues.apache.org/jira/browse/ATLAS-2625
             Project: Atlas
          Issue Type: Bug
            Reporter: Apoorv Naik
            Assignee: Apoorv Naik
             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)