[ 
https://issues.apache.org/jira/browse/USERGRID-21?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jeffrey  updated USERGRID-21:
-----------------------------
    Fix Version/s:     (was: 1.1)
                   Release old

> Empty string doesn't remove an entity property (null doesn't work either)
> -------------------------------------------------------------------------
>
>                 Key: USERGRID-21
>                 URL: https://issues.apache.org/jira/browse/USERGRID-21
>             Project: Usergrid
>          Issue Type: Bug
>          Components: Stack
>            Reporter: Rod Simpson
>            Assignee: Pahan Madushanka Perera
>             Fix For: Release old
>
>
> "Users should be able to remove entity properties using either empty string 
> or null 
> 1. Test to see if either works 
> 2. if empty string does not work, then setting empty string should keep the 
> property but set it to an empty string 
> 3. null should always remove the key 
> curl -X POST -i -H ""Authorization: Bearer 
> YWMt4i6fzEJREeOh0FGOwhrLOAAAAUIzm9d9wtwQTdewhc1I1Kg8d8yyMOVVQv0"" 
> ""htts://api.usergrid.com/1hotrod/fdfdsafd/books/8dd42b7a-4325-11e3-a8a9-2be66bc83082?ql=""
>  -d '{""fred"":""""}' 
> or 
> curl -X POST -i -H ""Authorization: Bearer 
> YWMt4i6fzEJREeOh0FGOwhrLOAAAAUIzm9d9wtwQTdewhc1I1Kg8d8yyMOVVQv0"" 
> ""htts://api.usergrid.com/1hotrod/fdfdsafd/books/8dd42b7a-4325-11e3-a8a9-2be66bc83082?ql=""
>  -d '{""fred"":null}'"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to