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

[jira] [Updated] (USERGRID-790) Can't delete entities in collection using singularized noun (affects 1.0, untested on 2.X)

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

Brandon Shelley updated USERGRID-790:
-------------------------------------
    Description: 
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}

  was:
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}


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