aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/TestSuite
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-07-29 23:21:57 +0100
committerJustin Clark-Casey (justincc)2011-07-29 23:21:57 +0100
commit9a5e0ede7c86b1fc213948332ae09a14a2d4729e (patch)
tree90372a965f4c5bb0c038bbee033a913c93a6bde8 /OpenSim/TestSuite
parentWhen we start the appearance saving thread, make sure we set the culture to E... (diff)
downloadopensim-SC_OLD-9a5e0ede7c86b1fc213948332ae09a14a2d4729e.zip
opensim-SC_OLD-9a5e0ede7c86b1fc213948332ae09a14a2d4729e.tar.gz
opensim-SC_OLD-9a5e0ede7c86b1fc213948332ae09a14a2d4729e.tar.bz2
opensim-SC_OLD-9a5e0ede7c86b1fc213948332ae09a14a2d4729e.tar.xz
For all Util.FireAndForget invocations, set thread to en_US before continuing wtih the invocation.
This is to avoid bugs where the locale is not manually set on the thread and bad data values get sent to the database or over the wire. Lots of code does this manually but as we've seen, a subtle change can hit code which has forgotton to do this. Since en_US show be used throughout the server at present, setting it at FireAndForget seems reasonable. Arguably, it would be better to do this where data is sent, but doing it here is much easier. All the manual BeginInvokes() remaining in the code should probably call FireAndForget instead.
Diffstat (limited to 'OpenSim/TestSuite')
0 files changed, 0 insertions, 0 deletions