Thank you kindly, MattSetzer, for a patch that solves a Mantis:
This appears to be due to the fact that no asset cache has been configured, possibly as a result of the configuration changes that have been made recently. I've attached a patch to display a message to that effect rather than throwing an error.0.6.6-post-fixes
parent
93da1c2e94
commit
23bf1bf6e0
|
@ -413,7 +413,14 @@ namespace OpenSim
|
||||||
|
|
||||||
private void HandleClearAssets(string module, string[] args)
|
private void HandleClearAssets(string module, string[] args)
|
||||||
{
|
{
|
||||||
m_assetCache.Clear();
|
if (AssetCache != null)
|
||||||
|
{
|
||||||
|
AssetCache.Clear();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
m_log.Info("Asset cache is not configured.");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void HandleForceUpdate(string module, string[] args)
|
private void HandleForceUpdate(string module, string[] args)
|
||||||
|
@ -787,7 +794,14 @@ namespace OpenSim
|
||||||
switch (showParams[0])
|
switch (showParams[0])
|
||||||
{
|
{
|
||||||
case "assets":
|
case "assets":
|
||||||
m_assetCache.ShowState();
|
if (AssetCache != null)
|
||||||
|
{
|
||||||
|
AssetCache.ShowState();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
m_log.Info("Asset cache is not configured.");
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "users":
|
case "users":
|
||||||
|
|
Loading…
Reference in New Issue