diff options
author | UbitUmarov | 2017-06-23 19:55:23 +0100 |
---|---|---|
committer | UbitUmarov | 2017-06-23 19:55:23 +0100 |
commit | 0a1f497dee60a8b6d02fe4565f251afd226b3a3a (patch) | |
tree | 33bd660d4994742c3b9e889344ec4153a06ce01f /OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs | |
parent | do the same on OAR saves (diff) | |
download | opensim-SC_OLD-0a1f497dee60a8b6d02fe4565f251afd226b3a3a.zip opensim-SC_OLD-0a1f497dee60a8b6d02fe4565f251afd226b3a3a.tar.gz opensim-SC_OLD-0a1f497dee60a8b6d02fe4565f251afd226b3a3a.tar.bz2 opensim-SC_OLD-0a1f497dee60a8b6d02fe4565f251afd226b3a3a.tar.xz |
code actually has no ideia if a id is a asset or not and does try to handle all as assets, it really can't report errors. Change messages to make more clear they are only warnings and may mean nothing at all
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs index f89b904..d816ba4 100644 --- a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs +++ b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs | |||
@@ -237,12 +237,12 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver | |||
237 | 237 | ||
238 | if(curErrorCntr > 1) | 238 | if(curErrorCntr > 1) |
239 | { | 239 | { |
240 | m_log.WarnFormat("[INVENTORY ARCHIVER]: item {0} '{1}', type {2}, in '{3}', contains at least {4} references to missing or damaged assets", | 240 | m_log.WarnFormat("[INVENTORY ARCHIVER Warning]: item {0} '{1}', type {2}, in '{3}', contains {4} references to possible missing or damaged assets )", |
241 | inventoryItem.ID, inventoryItem.Name, itemAssetType.ToString(), spath, curErrorCntr); | 241 | inventoryItem.ID, inventoryItem.Name, itemAssetType.ToString(), spath, curErrorCntr); |
242 | } | 242 | } |
243 | else if(curErrorCntr == 1) | 243 | else if(curErrorCntr == 1) |
244 | { | 244 | { |
245 | m_log.WarnFormat("[INVENTORY ARCHIVER]: item {0} '{1}', type {2}, in '{3}', contains at least 1 reference to a missing or damaged asset", | 245 | m_log.WarnFormat("[INVENTORY ARCHIVER Warning]: item {0} '{1}', type {2}, in '{3}', contains a reference to a possible missing or damaged asset)", |
246 | inventoryItem.ID, inventoryItem.Name, itemAssetType.ToString(), spath); | 246 | inventoryItem.ID, inventoryItem.Name, itemAssetType.ToString(), spath); |
247 | } | 247 | } |
248 | } | 248 | } |
@@ -450,9 +450,9 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver | |||
450 | int errors = m_assetGatherer.FailedUUIDs.Count; | 450 | int errors = m_assetGatherer.FailedUUIDs.Count; |
451 | 451 | ||
452 | m_log.DebugFormat( | 452 | m_log.DebugFormat( |
453 | "[INVENTORY ARCHIVER]: The items to save reference {0} assets", m_assetGatherer.GatheredUuids.Count + errors); | 453 | "[INVENTORY ARCHIVER]: The items to save reference {0} possible assets", m_assetGatherer.GatheredUuids.Count + errors); |
454 | if(errors > 0) | 454 | if(errors > 0) |
455 | m_log.DebugFormat("[INVENTORY ARCHIVER]: {0} of these assets have problems and will be ignored", errors); | 455 | m_log.DebugFormat("[INVENTORY ARCHIVER]: {0} of these have problems or are not assets and will be ignored", errors); |
456 | 456 | ||
457 | AssetsRequest ar = new AssetsRequest( | 457 | AssetsRequest ar = new AssetsRequest( |
458 | new AssetsArchiver(m_archiveWriter), | 458 | new AssetsArchiver(m_archiveWriter), |