[Opensim-dev] getInventoryFolders(UUID.Zero) current vs. expected behavior
Sean Dague
sdague at gmail.com
Thu Sep 11 19:01:35 UTC 2008
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20080911/07c37761/attachment-0001.pgp>
More information about the Opensim-dev
mailing list