* Fix problem where known missing assets would stop save oar ever completing

* Issue was that region server was silently dropping an XmlException caused by trying to deserialize the blank asset service response
* So make asset service return http status NOT FOUND rather than OK in accordance with REST
* and interpret this correctly in the async response so that a null object is sent back
* This means that this fix won't be active until both region simulator and server reach this revision
This commit is contained in:
Justin Clarke Casey
2009-06-05 16:14:22 +00:00
parent bfea077508
commit 593942b195
3 changed files with 59 additions and 15 deletions

View File

@@ -228,12 +228,14 @@ namespace OpenSim.Region.CoreModules.World.Archiver
}
if (asset != null)
{
{
// m_log.DebugFormat("[ARCHIVER]: Recording asset {0} as found", id);
m_foundAssetUuids.Add(asset.FullID);
m_assetsArchiver.WriteAsset(asset);
}
else
{
// m_log.DebugFormat("[ARCHIVER]: Recording asset {0} as not found", id);
m_notFoundAssetUuids.Add(new UUID(id));
}