Yet more inventory debugging messages
parent
c34b5e9071
commit
77a2755e14
|
@ -193,7 +193,6 @@ namespace OpenSim.Framework.Communications.Cache
|
||||||
|
|
||||||
if ((fold = libraryRoot.HasSubFolder(folderID)) != null)
|
if ((fold = libraryRoot.HasSubFolder(folderID)) != null)
|
||||||
{
|
{
|
||||||
System.Console.WriteLine("fetching librarysubfolder");
|
|
||||||
remoteClient.SendInventoryFolderDetails(
|
remoteClient.SendInventoryFolderDetails(
|
||||||
libraryRoot.agentID, folderID, fold.RequestListOfItems(),
|
libraryRoot.agentID, folderID, fold.RequestListOfItems(),
|
||||||
fold.RequestListOfFolders(), fetchFolders, fetchItems);
|
fold.RequestListOfFolders(), fetchFolders, fetchItems);
|
||||||
|
@ -208,14 +207,12 @@ namespace OpenSim.Framework.Communications.Cache
|
||||||
{
|
{
|
||||||
if (userProfile.RootFolder.folderID == folderID)
|
if (userProfile.RootFolder.folderID == folderID)
|
||||||
{
|
{
|
||||||
System.Console.Write("fetching root folder");
|
remoteClient.SendInventoryFolderDetails(
|
||||||
if (fetchItems)
|
remoteClient.AgentId, folderID, userProfile.RootFolder.RequestListOfItems(),
|
||||||
{
|
userProfile.RootFolder.RequestListOfFolders(),
|
||||||
remoteClient.SendInventoryFolderDetails(
|
fetchFolders, fetchItems);
|
||||||
remoteClient.AgentId, folderID, userProfile.RootFolder.RequestListOfItems(),
|
|
||||||
userProfile.RootFolder.RequestListOfFolders(),
|
return;
|
||||||
fetchFolders, fetchItems);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -224,11 +221,35 @@ namespace OpenSim.Framework.Communications.Cache
|
||||||
remoteClient.SendInventoryFolderDetails(
|
remoteClient.SendInventoryFolderDetails(
|
||||||
remoteClient.AgentId, folderID, fold.RequestListOfItems(),
|
remoteClient.AgentId, folderID, fold.RequestListOfItems(),
|
||||||
fold.RequestListOfFolders(), fetchFolders, fetchItems);
|
fold.RequestListOfFolders(), fetchFolders, fetchItems);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
MainLog.Instance.Error(
|
||||||
|
"INVENTORYCACHE", "Could not find root folder for user {0}", remoteClient.Name);
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
MainLog.Instance.Error(
|
||||||
|
"INVENTORYCACHE",
|
||||||
|
"Could not find user profile for {0} for folder {1}",
|
||||||
|
remoteClient.Name, folderID);
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// If we've reached this point then we couldn't find the folder, even though the client thinks
|
||||||
|
// it exists
|
||||||
|
MainLog.Instance.Error(
|
||||||
|
"INVENTORYCACHE",
|
||||||
|
"Could not find folder {0} for user {1}",
|
||||||
|
folderID, remoteClient.Name);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void HandlePurgeInventoryDescendents(IClientAPI remoteClient, LLUUID folderID)
|
public void HandlePurgeInventoryDescendents(IClientAPI remoteClient, LLUUID folderID)
|
||||||
|
|
Loading…
Reference in New Issue