You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by "Lynch Lee (JIRA)" <ji...@apache.org> on 2016/11/08 06:39:58 UTC

[jira] [Comment Edited] (USERGRID-1202) Error returned when calling /revoketoken?token=xxx on non-existent user returns 500

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

Lynch Lee edited comment on USERGRID-1202 at 11/8/16 6:38 AM:
--------------------------------------------------------------

[~mrusso] Hi, I want to fix the issue, but.... the code on branch "master" can not be complied pass, got many errors like :

"[ERROR] 位置: 类 org.apache.usergrid.persistence.query.tree.QueryFilterParser
[ERROR] /data/apps/kenshinn/usergrid/stack/core/src/main/java/org/apache/usergrid/persistence/query/tree/QueryFilterParser.java:[1887,20] 找不到符号
[ERROR] 符号:   方法 addSelect(ID60 != nu[...] null)"

Is the branch "master" alway a compiling-well branch ??
Could you help me to fix this issue?  Thx !!


was (Author: lynchlee):
[~mrusso] Hi, I want to fix the issue, but.... the code on branch "master" can not be complied pass, got many errors like :

"[ERROR] 位置: 类 org.apache.usergrid.persistence.query.tree.QueryFilterParser
[ERROR] /data/apps/kenshinn/usergrid/stack/core/src/main/java/org/apache/usergrid/persistence/query/tree/QueryFilterParser.java:[1887,20] 找不到符号
[ERROR] 符号:   方法 addSelect(ID60 != nu[...] null)"

Is the branch "master" alway a compiling-well branch ??
Could you tell me how to fix this issue?  Thx !!

> Error returned when calling /revoketoken?token=xxx on non-existent user returns 500
> -----------------------------------------------------------------------------------
>
>                 Key: USERGRID-1202
>                 URL: https://issues.apache.org/jira/browse/USERGRID-1202
>             Project: Usergrid
>          Issue Type: Improvement
>          Components: Stack
>    Affects Versions: 2.2.0
>            Reporter: Brandon Shelley
>             Fix For: 2.2.0
>
>
> When calling PUT /revoketoken?token=xxxx on a non-existent user, e.g.:
> {code}PUT https://api-connectors-prod.apigee.net/appservices/api-connectors/sdksandbox/users/asdf/revoketoken?token=xxxx{code}
> This error is returned:
> {code}500 Internal Server Error
> {
>   "error": "uncaught",
>   "timestamp": 1452306713472,
>   "duration": 0,
>   "error_description": "Internal Server Error",
>   "exception": "org.apache.usergrid.rest.exceptions.UncaughtException",
>   "error_id": "251e782b-b679-11e5-abcb-12aee0c06a45"
> }{code}
> This should throw a 400 and the description should be improved somewhat to mirror USERGRID-1201



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