You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by "Jeffrey (JIRA)" <ji...@apache.org> on 2015/07/13 05:17:04 UTC

[jira] [Updated] (USERGRID-21) Empty string doesn't remove an entity property (null doesn't work either)

     [ 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)