Just for now, don't alert the user or log if we couldn't change their server-side preferences due to no e-mail address being sent.

This is to avoid user confusion in the oscc rehearsal as they are often not aware that this fails because no e-mail is set.
Also may be failing in the hypergrid case, though this may also be a config issue.
This is meant as a temporary solution.
ghosts
Justin Clark-Casey (justincc) 2014-10-31 23:04:18 +00:00
parent 31b92f0217
commit 965c53ebd7
2 changed files with 3 additions and 3 deletions

View File

@ -871,8 +871,8 @@ namespace OpenSim.Region.CoreModules.Avatar.UserProfiles
object Pref = (object)pref;
if(!rpc.JsonRpcRequest(ref Pref, "user_preferences_request", serverURI, UUID.Random().ToString()))
{
m_log.InfoFormat("[PROFILES]: UserPreferences request error");
remoteClient.SendAgentAlertMessage("Error requesting preferences", false);
// m_log.InfoFormat("[PROFILES]: UserPreferences request error");
// remoteClient.SendAgentAlertMessage("Error requesting preferences", false);
return;
}
pref = (UserPreferences) Pref;

View File

@ -402,7 +402,7 @@ namespace OpenSim.Server.Handlers
response.Error.Code = ErrorCode.InternalError;
response.Error.Message = string.Format("{0}", result);
m_log.InfoFormat("[PROFILES]: User preferences request error - {0}", response.Error.Message);
// m_log.InfoFormat("[PROFILES]: User preferences request error - {0}", response.Error.Message);
return false;
}