You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "David Radley (JIRA)" <ji...@apache.org> on 2017/01/24 19:02:30 UTC
[jira] [Created] (ATLAS-1497) Not able to debug the error when a
null is supplied for a manditory field
David Radley created ATLAS-1497:
-----------------------------------
Summary: Not able to debug the error when a null is supplied for a manditory field
Key: ATLAS-1497
URL: https://issues.apache.org/jira/browse/ATLAS-1497
Project: Atlas
Issue Type: Bug
Reporter: David Radley
Using the V2 API, I define a type that has "isOptional": false. I attempt to create an entity using this type but do not specify that attribute in the creation request. The error sent on the REST call is 500. I failed to diagnose the problem from the application log or the stack trace in the console.
The meaningful ValueConversionException message should be in the log and returned on the rest api in the error. It would be worth changing ValueConversionException to extend AtlasBaseExceotion so it can have a message number.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)