cleanups and assorted fixes to REST inventory, asset, and appearance
services.
This commit is contained in:
Dr Scofield
2008-10-20 18:07:06 +00:00
parent 1fc6872f20
commit 12042cdc2b
8 changed files with 160 additions and 65 deletions

View File

@@ -178,8 +178,14 @@ namespace OpenSim.Framework.Communications.Cache
if (libraryFolders.ContainsKey(item.Folder))
{
InventoryFolderImpl parentFolder = libraryFolders[item.Folder];
parentFolder.Items.Add(item.ID, item);
try
{
parentFolder.Items.Add(item.ID, item);
}
catch (Exception)
{
m_log.WarnFormat("[LIBRARY INVENTORY] Item {1} [{0}] not added, duplicate item", item.ID, item.Name);
}
}
else
{