diff options
author | Melanie | 2010-12-03 02:36:13 +0000 |
---|---|---|
committer | Melanie | 2010-12-03 02:36:13 +0000 |
commit | 342dc532ec64642d5997f23050a9776f663facdf (patch) | |
tree | b0be3997967aa6e4d79873281f535ad436b841e4 /OpenSim/Server | |
parent | Change the way sim health reporting reports sim startup (diff) | |
parent | Only force prim persistence before delete if the prim is the result of an unp... (diff) | |
download | opensim-SC_OLD-342dc532ec64642d5997f23050a9776f663facdf.zip opensim-SC_OLD-342dc532ec64642d5997f23050a9776f663facdf.tar.gz opensim-SC_OLD-342dc532ec64642d5997f23050a9776f663facdf.tar.bz2 opensim-SC_OLD-342dc532ec64642d5997f23050a9776f663facdf.tar.xz |
Merge branch 'master' into careminster-presence-refactor
Also prevent god takes from ending up in Lost and Found
Diffstat (limited to 'OpenSim/Server')
-rw-r--r-- | OpenSim/Server/Handlers/Asset/AssetServerConnector.cs | 5 | ||||
-rw-r--r-- | OpenSim/Server/Handlers/Inventory/XInventoryInConnector.cs | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/OpenSim/Server/Handlers/Asset/AssetServerConnector.cs b/OpenSim/Server/Handlers/Asset/AssetServerConnector.cs index b6425f4..df571fa 100644 --- a/OpenSim/Server/Handlers/Asset/AssetServerConnector.cs +++ b/OpenSim/Server/Handlers/Asset/AssetServerConnector.cs | |||
@@ -53,12 +53,15 @@ namespace OpenSim.Server.Handlers.Asset | |||
53 | String.Empty); | 53 | String.Empty); |
54 | 54 | ||
55 | if (assetService == String.Empty) | 55 | if (assetService == String.Empty) |
56 | throw new Exception("No AssetService in config file"); | 56 | throw new Exception("No LocalServiceModule in config file"); |
57 | 57 | ||
58 | Object[] args = new Object[] { config }; | 58 | Object[] args = new Object[] { config }; |
59 | m_AssetService = | 59 | m_AssetService = |
60 | ServerUtils.LoadPlugin<IAssetService>(assetService, args); | 60 | ServerUtils.LoadPlugin<IAssetService>(assetService, args); |
61 | 61 | ||
62 | if (m_AssetService == null) | ||
63 | throw new Exception(String.Format("Failed to load AssetService from {0}; config is {1}", assetService, m_ConfigName)); | ||
64 | |||
62 | bool allowDelete = serverConfig.GetBoolean("AllowRemoteDelete", false); | 65 | bool allowDelete = serverConfig.GetBoolean("AllowRemoteDelete", false); |
63 | 66 | ||
64 | server.AddStreamHandler(new AssetServerGetHandler(m_AssetService)); | 67 | server.AddStreamHandler(new AssetServerGetHandler(m_AssetService)); |
diff --git a/OpenSim/Server/Handlers/Inventory/XInventoryInConnector.cs b/OpenSim/Server/Handlers/Inventory/XInventoryInConnector.cs index ce72c78..edb44ea 100644 --- a/OpenSim/Server/Handlers/Inventory/XInventoryInConnector.cs +++ b/OpenSim/Server/Handlers/Inventory/XInventoryInConnector.cs | |||
@@ -153,7 +153,7 @@ namespace OpenSim.Server.Handlers.Asset | |||
153 | } | 153 | } |
154 | catch (Exception e) | 154 | catch (Exception e) |
155 | { | 155 | { |
156 | m_log.Debug("[XINVENTORY HANDLER]: Exception {0}", e); | 156 | m_log.DebugFormat("[XINVENTORY HANDLER]: Exception {0}", e); |
157 | } | 157 | } |
158 | 158 | ||
159 | return FailureResult(); | 159 | return FailureResult(); |
@@ -605,6 +605,10 @@ namespace OpenSim.Server.Handlers.Asset | |||
605 | ret["CreatorId"] = item.CreatorId.ToString(); | 605 | ret["CreatorId"] = item.CreatorId.ToString(); |
606 | else | 606 | else |
607 | ret["CreatorId"] = String.Empty; | 607 | ret["CreatorId"] = String.Empty; |
608 | if (item.CreatorData != null) | ||
609 | ret["CreatorData"] = item.CreatorData; | ||
610 | else | ||
611 | ret["CreatorData"] = String.Empty; | ||
608 | ret["CurrentPermissions"] = item.CurrentPermissions.ToString(); | 612 | ret["CurrentPermissions"] = item.CurrentPermissions.ToString(); |
609 | ret["Description"] = item.Description.ToString(); | 613 | ret["Description"] = item.Description.ToString(); |
610 | ret["EveryOnePermissions"] = item.EveryOnePermissions.ToString(); | 614 | ret["EveryOnePermissions"] = item.EveryOnePermissions.ToString(); |