diff options
author | Justin Clark-Casey (justincc) | 2010-08-24 16:50:31 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-08-24 16:50:31 +0100 |
commit | 289c21099cf3ce0a2e3392436541b67d0961d8e8 (patch) | |
tree | c6f94eeb0c4f1fc98c2ddef7c855a97dc408c908 /OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/RemoteXInventoryServiceConnector.cs | |
parent | Add system lookup folder fix to the RemoveXInventoryServiceConnector as well ... (diff) | |
download | opensim-SC_OLD-289c21099cf3ce0a2e3392436541b67d0961d8e8.zip opensim-SC_OLD-289c21099cf3ce0a2e3392436541b67d0961d8e8.tar.gz opensim-SC_OLD-289c21099cf3ce0a2e3392436541b67d0961d8e8.tar.bz2 opensim-SC_OLD-289c21099cf3ce0a2e3392436541b67d0961d8e8.tar.xz |
Add automated test at the opensim 'api' level to check that a given item goes to the correct directory
Also removes some mono compiler warnings
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/RemoteXInventoryServiceConnector.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/RemoteXInventoryServiceConnector.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/RemoteXInventoryServiceConnector.cs index 7ac3bb9..4211fa9 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/RemoteXInventoryServiceConnector.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Inventory/RemoteXInventoryServiceConnector.cs | |||
@@ -240,9 +240,16 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory | |||
240 | { | 240 | { |
241 | f = m_RemoteConnector.GetRootFolder(item.Owner); | 241 | f = m_RemoteConnector.GetRootFolder(item.Owner); |
242 | if (f != null) | 242 | if (f != null) |
243 | { | ||
243 | item.Folder = f.ID; | 244 | item.Folder = f.ID; |
245 | } | ||
244 | else | 246 | else |
247 | { | ||
248 | m_log.WarnFormat( | ||
249 | "[LOCAL INVENTORY SERVICES CONNECTOR]: Could not find root folder for {0} when trying to add item {1} with no parent folder specified", | ||
250 | item.Owner, item.Name); | ||
245 | return false; | 251 | return false; |
252 | } | ||
246 | } | 253 | } |
247 | } | 254 | } |
248 | 255 | ||