[ 
https://issues.apache.org/jira/browse/ATLAS-2327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16315819#comment-16315819
 ] 

Nixon Rodrigues commented on ATLAS-2327:
----------------------------------------

[~madhan.neethiraj], The changes look good. +1 

> 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
>    Affects Versions: 1.0.0
>            Reporter: Sharmadha Sainath
>            Assignee: Madhan Neethiraj
>             Fix For: 1.0.0
>
>         Attachments: ATLAS-2327.patch
>
>
> 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)

Reply via email to