aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Scripting/JsonStore/JsonStore.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-02-07 23:08:19 +0000
committerJustin Clark-Casey (justincc)2013-02-07 23:08:19 +0000
commitc135c3224fcdc88a610b0d66da0c0dd6cd1211f9 (patch)
tree85b46f38c9b63ed4e6dd5a2e31ff6c910434de57 /OpenSim/Region/OptionalModules/Scripting/JsonStore/JsonStore.cs
parentEnables script access to the per object dynamic attributes through the JsonStore (diff)
downloadopensim-SC_OLD-c135c3224fcdc88a610b0d66da0c0dd6cd1211f9.zip
opensim-SC_OLD-c135c3224fcdc88a610b0d66da0c0dd6cd1211f9.tar.gz
opensim-SC_OLD-c135c3224fcdc88a610b0d66da0c0dd6cd1211f9.tar.bz2
opensim-SC_OLD-c135c3224fcdc88a610b0d66da0c0dd6cd1211f9.tar.xz
Fix a recent regression in e17392a where JsonSetValue() stopped working (probably other functions as well).
Fix is to call through to the no-arg constructor from the string constructor in JsonStore, which I suspect was just forgotten. This was actually picked up by the TestJsonSetValue() regression test failing But this isn't being run on jenkins due to the .net version issue. This commit also puts the full stack trace in logged messages and makes these error level messages instead of info
Diffstat (limited to 'OpenSim/Region/OptionalModules/Scripting/JsonStore/JsonStore.cs')
-rw-r--r--OpenSim/Region/OptionalModules/Scripting/JsonStore/JsonStore.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/JsonStore/JsonStore.cs b/OpenSim/Region/OptionalModules/Scripting/JsonStore/JsonStore.cs
index 751e463..5808d46 100644
--- a/OpenSim/Region/OptionalModules/Scripting/JsonStore/JsonStore.cs
+++ b/OpenSim/Region/OptionalModules/Scripting/JsonStore/JsonStore.cs
@@ -114,7 +114,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.JsonStore
114 m_ReadStore = new List<TakeValueCallbackClass>(); 114 m_ReadStore = new List<TakeValueCallbackClass>();
115 } 115 }
116 116
117 public JsonStore(string value) 117 public JsonStore(string value) : this()
118 { 118 {
119 if (String.IsNullOrEmpty(value)) 119 if (String.IsNullOrEmpty(value))
120 ValueStore = new OSDMap(); 120 ValueStore = new OSDMap();