diff options
author | diva | 2009-05-16 00:23:32 +0000 |
---|---|---|
committer | diva | 2009-05-16 00:23:32 +0000 |
commit | d8931def060ec41fd64ce7b6ab569e14a8f9005b (patch) | |
tree | 77a43133aa1af6b9fc4ce312842ae3c3d5564021 /OpenSim/Servers | |
parent | Bug fix on POST asset so that the new asset service connector can talk to the... (diff) | |
download | opensim-SC-d8931def060ec41fd64ce7b6ab569e14a8f9005b.zip opensim-SC-d8931def060ec41fd64ce7b6ab569e14a8f9005b.tar.gz opensim-SC-d8931def060ec41fd64ce7b6ab569e14a8f9005b.tar.bz2 opensim-SC-d8931def060ec41fd64ce7b6ab569e14a8f9005b.tar.xz |
Another minor bug fix for making notecard/script savings work with old asset servers.
Diffstat (limited to 'OpenSim/Servers')
-rw-r--r-- | OpenSim/Servers/Connectors/Asset/AssetServiceConnector.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Servers/Connectors/Asset/AssetServiceConnector.cs b/OpenSim/Servers/Connectors/Asset/AssetServiceConnector.cs index efd5eea..cebd471 100644 --- a/OpenSim/Servers/Connectors/Asset/AssetServiceConnector.cs +++ b/OpenSim/Servers/Connectors/Asset/AssetServiceConnector.cs | |||
@@ -195,7 +195,10 @@ namespace OpenSim.Servers.Connectors | |||
195 | 195 | ||
196 | if (newID != String.Empty) | 196 | if (newID != String.Empty) |
197 | { | 197 | { |
198 | asset.ID = newID; | 198 | // Placing this here, so that this work with old asset servers that don't send any reply back |
199 | // SynchronousRestObjectRequester returns somethins that is not an empty string | ||
200 | if (!"00000000-0000-0000-0000-000000000000".Equals(newID)) | ||
201 | asset.ID = newID; | ||
199 | 202 | ||
200 | if (m_Cache != null) | 203 | if (m_Cache != null) |
201 | m_Cache.Cache(asset); | 204 | m_Cache.Cache(asset); |