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

George Reyes commented on USERGRID-790:
---------------------------------------

For more information we support GET on "food" and "foods" thus not having 
delete supported is a problem. The sdk's work on singular case ("food") and the 
type returned from the entity is also singular("food").

> Can't delete entities in collection using singularized noun (affects 1.0, 
> untested on 2.X)
> ------------------------------------------------------------------------------------------
>
>                 Key: USERGRID-790
>                 URL: https://issues.apache.org/jira/browse/USERGRID-790
>             Project: Usergrid
>          Issue Type: Bug
>    Affects Versions: 1.0
>            Reporter: Brandon Shelley
>
> 1. Create a collection, e.g. "food"
> 2. The collection will be automatically pluralized to "foods"
> 3. Create an entity in the "foods" collection
> 4. Attempt to delete "/food/[uuid]" and the following error is thrown:
> {code}
> {
>   "error": "service_resource_not_found",
>   "timestamp": ...,
>   "duration": 0,
>   "exception": 
> "org.apache.usergrid.services.exceptions.ServiceResourceNotFoundException",
>   "error_description": "Service resource not found"
> }
> {code}



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

Reply via email to