aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Connectors
diff options
context:
space:
mode:
authorDiva Canto2015-05-11 08:52:12 -0700
committerDiva Canto2015-05-11 08:52:12 -0700
commit3df472f10d1a2b8387e998c4f4c871eaf9a73ac2 (patch)
tree12cc5eb3981f92f2a6d4ca0cbb0917ac9e711f10 /OpenSim/Services/Connectors
parentKnocked off a few compiler warnings regarding unused variables. (diff)
downloadopensim-SC-3df472f10d1a2b8387e998c4f4c871eaf9a73ac2.zip
opensim-SC-3df472f10d1a2b8387e998c4f4c871eaf9a73ac2.tar.gz
opensim-SC-3df472f10d1a2b8387e998c4f4c871eaf9a73ac2.tar.bz2
opensim-SC-3df472f10d1a2b8387e998c4f4c871eaf9a73ac2.tar.xz
Added inventory tests to Robust.Tests.
Diffstat (limited to 'OpenSim/Services/Connectors')
-rw-r--r--OpenSim/Services/Connectors/Inventory/XInventoryServicesConnector.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Services/Connectors/Inventory/XInventoryServicesConnector.cs b/OpenSim/Services/Connectors/Inventory/XInventoryServicesConnector.cs
index 0cea4a1..db3c857 100644
--- a/OpenSim/Services/Connectors/Inventory/XInventoryServicesConnector.cs
+++ b/OpenSim/Services/Connectors/Inventory/XInventoryServicesConnector.cs
@@ -406,9 +406,13 @@ namespace OpenSim.Services.Connectors
406 406
407 public bool AddItem(InventoryItemBase item) 407 public bool AddItem(InventoryItemBase item)
408 { 408 {
409 if (item.Description == null)
410 item.Description = String.Empty;
409 if (item.CreatorData == null) 411 if (item.CreatorData == null)
410 item.CreatorData = String.Empty; 412 item.CreatorData = String.Empty;
411 Dictionary<string,object> ret = MakeRequest("ADDITEM", 413 if (item.CreatorId == null)
414 item.CreatorId = String.Empty;
415 Dictionary<string, object> ret = MakeRequest("ADDITEM",
412 new Dictionary<string,object> { 416 new Dictionary<string,object> {
413 { "AssetID", item.AssetID.ToString() }, 417 { "AssetID", item.AssetID.ToString() },
414 { "AssetType", item.AssetType.ToString() }, 418 { "AssetType", item.AssetType.ToString() },