atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ayub Khan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ATLAS-1611) Regression: Creating an entity with invalidGUID results in "500 server error", expected response is "400 Bad Request"
Date Wed, 01 Mar 2017 12:46:45 GMT
Ayub Khan created ATLAS-1611:
--------------------------------

             Summary: Regression: Creating an entity with invalidGUID results in "500 server
error", expected response is "400 Bad Request"
                 Key: ATLAS-1611
                 URL: https://issues.apache.org/jira/browse/ATLAS-1611
             Project: Atlas
          Issue Type: Bug
          Components:  atlas-core
    Affects Versions: trunk, 0.8-incubating
            Reporter: Ayub Khan
            Priority: Critical
             Fix For: trunk, 0.8-incubating


Sample json when posted to atlas results in 500 internal error,
{noformat}
      {
        "jsonClass":"org.apache.atlas.typesystem.json.InstanceSerialization$_Reference",
        "id":{
          "jsonClass":"org.apache.atlas.typesystem.json.InstanceSerialization$_Id",
          "id":"invalid",
          "version":0,
          "typeName":"ComplexEntityTestColumnroshbaacqm",
          "state":"ACTIVE"
        },
        "typeName":"ComplexEntityTestColumnroshbaacqm",
        "values":{
          "name":"column1hlrfnjmmth"
        },
        "traitNames":[

        ],
        "traits":{

        },
        "systemAttributes":{
          "createdBy":null,
          "modifiedBy":null,
          "createdTime":null,
          "modifiedTime":null
        }
      }
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message