diff options
author | Justin Clark-Casey (justincc) | 2012-08-23 22:30:14 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-08-23 22:30:14 +0100 |
commit | a533db7e279d533a6858a194fef5d913553c1bf9 (patch) | |
tree | cf8008437bc32b7587daae05d622570321339b04 /OpenSim/Data/IXAssetDataPlugin.cs | |
parent | this should be an if-else block in case the non-phys min/max are smaller than... (diff) | |
download | opensim-SC_OLD-a533db7e279d533a6858a194fef5d913553c1bf9.zip opensim-SC_OLD-a533db7e279d533a6858a194fef5d913553c1bf9.tar.gz opensim-SC_OLD-a533db7e279d533a6858a194fef5d913553c1bf9.tar.bz2 opensim-SC_OLD-a533db7e279d533a6858a194fef5d913553c1bf9.tar.xz |
Add an [HGAssetService] section to SQLiteStandalone.ini with the same connection string as [AssetService].
This is necessary because commit 8131a24 (Tue Mar 27 10:08:13 2012) started passing the config section name rather than hardcoding "AssetService"
This meant that the HG external-facing asset service tried to read ConnectionString from [HGAssetService] rather than [AssetService].
On SQLite, not finding this meant that it fell back to [DatabaseService], which is set for OpenSim.db rather than Asset.db.
Therefore, all external asset requests returned null.
Solution taken here is to create an [HGAssetService] section with the same ConnectionString as [AssetService].
This bug does not affect normal MySQL/MSSQL config since they use the [DatabaseService] connection string anyway.
Addresses http://opensimulator.org/mantis/view.php?id=6200, many thanks to DanBanner for identifying the exact problem commit which was very helpful.
This was a regression from OpenSimulator 0.7.3.1 which did not contain this bug.
Diffstat (limited to 'OpenSim/Data/IXAssetDataPlugin.cs')
0 files changed, 0 insertions, 0 deletions