aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDiva Canto2009-08-14 10:29:29 -0700
committerDiva Canto2009-08-14 10:29:29 -0700
commitc56e51a6e36a7a9977b9b162349256b338f4e3f3 (patch)
tree7009db3ae2be5af443a380e22b7a75ff0cc8549f
parentDoing session lookup in the right way. (diff)
downloadopensim-SC-c56e51a6e36a7a9977b9b162349256b338f4e3f3.zip
opensim-SC-c56e51a6e36a7a9977b9b162349256b338f4e3f3.tar.gz
opensim-SC-c56e51a6e36a7a9977b9b162349256b338f4e3f3.tar.bz2
opensim-SC-c56e51a6e36a7a9977b9b162349256b338f4e3f3.tar.xz
More debug messages.
-rw-r--r--OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/RemoteInventoryServiceConnector.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/RemoteInventoryServiceConnector.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/RemoteInventoryServiceConnector.cs
index 5992145..20cddcd 100644
--- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/RemoteInventoryServiceConnector.cs
+++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/RemoteInventoryServiceConnector.cs
@@ -105,6 +105,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory
105 105
106 public void AddRegion(Scene scene) 106 public void AddRegion(Scene scene)
107 { 107 {
108 m_log.Debug("[XXXX] Adding scene " + scene.RegionInfo.RegionName);
108 m_Scene = scene; 109 m_Scene = scene;
109 110
110 if (!m_Enabled) 111 if (!m_Enabled)
@@ -314,6 +315,12 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory
314 315
315 private UUID GetSessionID(UUID userID) 316 private UUID GetSessionID(UUID userID)
316 { 317 {
318 if (m_Scene == null)
319 m_log.Debug("[INVENTORY CONNECTOR]: OOPS! scene is null");
320
321 if (m_Scene.CommsManager.UserProfileCacheService == null)
322 m_log.Debug("[INVENTORY CONNECTOR]: OOPS! UserProfileCacheService is null");
323
317 CachedUserInfo uinfo = m_Scene.CommsManager.UserProfileCacheService.GetUserDetails(userID); 324 CachedUserInfo uinfo = m_Scene.CommsManager.UserProfileCacheService.GetUserDetails(userID);
318 if (uinfo != null) 325 if (uinfo != null)
319 return uinfo.SessionID; 326 return uinfo.SessionID;