Bug fix for creating users in standalone: the newly-created root folder was not being set in the cached profile. I suspect this bug has been around for a while.

0.6.6-post-fixes
diva 2009-06-10 20:31:02 +00:00
parent 7f772d7a7d
commit 6ddf70b128
1 changed files with 3 additions and 0 deletions

View File

@ -694,6 +694,9 @@ namespace OpenSim.Framework.Communications
// local service (standalone) // local service (standalone)
m_log.Debug("[USERSTORAGE]: using IInventoryService to create user's inventory"); m_log.Debug("[USERSTORAGE]: using IInventoryService to create user's inventory");
m_InventoryService.CreateUserInventory(userProf.ID); m_InventoryService.CreateUserInventory(userProf.ID);
InventoryFolderBase rootfolder = m_InventoryService.RequestRootFolder(userProf.ID);
if (rootfolder != null)
userProf.RootInventoryFolderID = rootfolder.ID;
} }
else else
{ {