aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-02-17 18:19:24 +0000
committerJustin Clarke Casey2009-02-17 18:19:24 +0000
commite28738c13b4eb3e1a3a2fc6e8edbc2584e50c0fb (patch)
tree2b19032e40d6a3ea4d2d9db9092e6bbc529b2241 /OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs
parent* extend inventory archive save test to check for the presence of the item fi... (diff)
downloadopensim-SC_OLD-e28738c13b4eb3e1a3a2fc6e8edbc2584e50c0fb.zip
opensim-SC_OLD-e28738c13b4eb3e1a3a2fc6e8edbc2584e50c0fb.tar.gz
opensim-SC_OLD-e28738c13b4eb3e1a3a2fc6e8edbc2584e50c0fb.tar.bz2
opensim-SC_OLD-e28738c13b4eb3e1a3a2fc6e8edbc2584e50c0fb.tar.xz
* Assign incoming items with a random UUID so that archives can be loaded more than once
* Also remove a duplicate write archive call in the unit test which might be causing test failures for people using mono 2.2 (though not 1.9.1, it would seem)
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs
index 456831d..be700e9 100644
--- a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs
@@ -109,6 +109,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver
109 path, inventoryItem.Name, inventoryItem.ID); 109 path, inventoryItem.Name, inventoryItem.ID);
110 StringWriter sw = new StringWriter(); 110 StringWriter sw = new StringWriter();
111 XmlTextWriter writer = new XmlTextWriter(sw); 111 XmlTextWriter writer = new XmlTextWriter(sw);
112 writer.Formatting = Formatting.Indented;
113
112 writer.WriteStartElement("InventoryObject"); 114 writer.WriteStartElement("InventoryObject");
113 writer.WriteStartElement("Name"); 115 writer.WriteStartElement("Name");
114 writer.WriteString(inventoryItem.Name); 116 writer.WriteString(inventoryItem.Name);