You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by "Pahan Madushanka Perera (JIRA)" <ji...@apache.org> on 2014/04/20 18:14:15 UTC
[jira] [Commented] (USERGRID-97) Counter cannot be reset
[ https://issues.apache.org/jira/browse/USERGRID-97?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13975173#comment-13975173 ]
Pahan Madushanka Perera commented on USERGRID-97:
-------------------------------------------------
I solved this issue by changing dynamic properties.
Pull Request : https://github.com/usergrid/usergrid/pull/119
PUT with "counter_name":0 will make the counter value to 0,
PUT with "counter_name":"" will remove the counter property.
Please give me a feedback. Thanks
> Counter cannot be reset
> -----------------------
>
> Key: USERGRID-97
> URL: https://issues.apache.org/jira/browse/USERGRID-97
> Project: Usergrid
> Issue Type: Bug
> Components: Stack
> Reporter: Rod Simpson
> Assignee: Pahan Madushanka Perera
> Fix For: 1.1
>
>
> A user reported that he was unable to reset a counter.
> The docs say that a PUT with counters:counter_name:0 should reset.
> A previous group thread said a PUT with counters:counter_name:"" should reset.
> I have not been able to get either to work.
--
This message was sent by Atlassian JIRA
(v6.2#6252)