diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs b/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs index 910c0d7..ee047e0 100644 --- a/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs +++ b/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs | |||
@@ -299,6 +299,13 @@ namespace OpenSim.Services.Connectors | |||
299 | return string.Empty; | 299 | return string.Empty; |
300 | } | 300 | } |
301 | 301 | ||
302 | // TEMPORARY: SRAS returns 'null' when it's asked to store existing assets | ||
303 | if (newID == null) | ||
304 | { | ||
305 | m_log.DebugFormat("[ASSET CONNECTOR]: Storing of asset {0} returned null; assuming the asset already exists", asset.ID); | ||
306 | return asset.ID; | ||
307 | } | ||
308 | |||
302 | if (string.IsNullOrEmpty(newID)) | 309 | if (string.IsNullOrEmpty(newID)) |
303 | return string.Empty; | 310 | return string.Empty; |
304 | 311 | ||