You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Sharmadha Sainath (JIRA)" <ji...@apache.org> on 2017/12/28 06:15:00 UTC

[jira] [Created] (ATLAS-2327) Regression : Creating entity using V1 APIs with invalid values for attribute types succeeds

Sharmadha Sainath created ATLAS-2327:
----------------------------------------

             Summary: Regression : Creating entity using V1 APIs with invalid values for attribute types succeeds
                 Key: ATLAS-2327
                 URL: https://issues.apache.org/jira/browse/ATLAS-2327
             Project: Atlas
          Issue Type: Bug
          Components:  atlas-core
            Reporter: Sharmadha Sainath


Creating an entity with invalid values using V1 APIs succeeds with 201. Expected is 400 Bad Request. 
This doesn't happen with V2 APIs. 
Example :
1.Create type by posting JSON to /api/atlas/types
2.Create entity with random string value for float attribute by posting JSON to /api/atlas/entities
3. Request succeeds with 201.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)