[Opensim-dev] getInventoryFolders(UUID.Zero) current vs. expected behavior

Mic Bowman cmickeyb at gmail.com
Thu Sep 11 21:37:34 UTC 2008


There is a patch for the user cache that i just put in today that will
fix some of this in the inventory cache. The new way we pull folders
in mysql should drop the multiple roots as well.
--mic


On Thu, Sep 11, 2008 at 12:01 PM, Sean Dague <sdague at gmail.com> wrote:
> Today, if you do inventorystore.getInventoryFolders(UUID.Zero) you get
> all root folders, regardless of user.  The same is true for the
> getFolderHierarchy, with more interesting results.  I noticed this while
> writing up unit tests for sqlite.
>
> While understandable why those are like that, it seems like that's just
> a loophole waiting to be abused in a way that makes all of our lives a
> pain.  I'd like to suggest that we consider using UUID.Zero on any of
> those calls to be an error, and require people get their root folders
> via getUserRootFolder.
>
>        -Sean
>
> --
> Sean Dague / Neas Bade
> sdague at gmail.com
> http://dague.net
>
>
>
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
>
>



More information about the Opensim-dev mailing list