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/09/01 20:21:45 UTC

[jira] [Updated] (USERGRID-935) Improve handling of reserved-names for collections, such as 'queues'

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

Jeffrey  updated USERGRID-935:
------------------------------
    Description: 
Can't name a collection "queues" without blowing up stack

If you create a collection in 1.0 called "queues", it fails:

{code}Error (500)(queue): Neccessary queue bounds not found{code}

And an NPE if you try to create entities in "queues":

{code}{"error":"null_pointer","timestamp":1440443047568,"duration":0,"exception":"java.lang.NullPointerException"}{code}

According to [~tnine] this queue functionality should just be removed entirely in 2.0. As for 1.0, perhaps we can rename it so that "queues" isn't the name and doesn't interfere with collection names?

  was:
If you create a collection in 1.0 called "queues", it blows up:

{code}Error (500)(queue): Neccessary queue bounds not found{code}

And an NPE if you try to create entities in "queues":

{code}{"error":"null_pointer","timestamp":1440443047568,"duration":0,"exception":"java.lang.NullPointerException"}{code}

According to [~tnine] this queue functionality should just be removed entirely in 2.0. As for 1.0, perhaps we can rename it so that "queues" isn't the name and doesn't interfere with collection names?


> Improve handling of reserved-names for collections, such as 'queues'
> --------------------------------------------------------------------
>
>                 Key: USERGRID-935
>                 URL: https://issues.apache.org/jira/browse/USERGRID-935
>             Project: Usergrid
>          Issue Type: Bug
>          Components: Stack
>    Affects Versions: 2.0.0, 1.0
>            Reporter: Brandon Shelley
>
> Can't name a collection "queues" without blowing up stack
> If you create a collection in 1.0 called "queues", it fails:
> {code}Error (500)(queue): Neccessary queue bounds not found{code}
> And an NPE if you try to create entities in "queues":
> {code}{"error":"null_pointer","timestamp":1440443047568,"duration":0,"exception":"java.lang.NullPointerException"}{code}
> According to [~tnine] this queue functionality should just be removed entirely in 2.0. As for 1.0, perhaps we can rename it so that "queues" isn't the name and doesn't interfere with collection names?



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