From 6ddf70b1284a1f5096a49abc77936a5f813e9f56 Mon Sep 17 00:00:00 2001 From: diva Date: Wed, 10 Jun 2009 20:31:02 +0000 Subject: [PATCH] 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. --- OpenSim/Framework/Communications/UserManagerBase.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/OpenSim/Framework/Communications/UserManagerBase.cs b/OpenSim/Framework/Communications/UserManagerBase.cs index 898239d78f..b9044ebe55 100644 --- a/OpenSim/Framework/Communications/UserManagerBase.cs +++ b/OpenSim/Framework/Communications/UserManagerBase.cs @@ -694,6 +694,9 @@ namespace OpenSim.Framework.Communications // local service (standalone) m_log.Debug("[USERSTORAGE]: using IInventoryService to create user's inventory"); m_InventoryService.CreateUserInventory(userProf.ID); + InventoryFolderBase rootfolder = m_InventoryService.RequestRootFolder(userProf.ID); + if (rootfolder != null) + userProf.RootInventoryFolderID = rootfolder.ID; } else {