Mantis#2027. Thank you kindly, HomerHorwitz for a patch that addresses:

Analysis shows that the XMLRPC-request contains an empty string (<string />) 
for the custom_type parameter, which is deserialized wrongly to a null-value, 
thus leading to the exception above. The attached patch (against r5967) fixes 
the symptom and uses "" for customType in that case.
0.6.0-stable
Charles Krinke 2008-08-24 18:32:39 +00:00
parent a7a385937e
commit d2f2ec12fd
1 changed files with 1 additions and 1 deletions

View File

@ -902,7 +902,7 @@ namespace OpenSim.Data.MySQL
parameters["?webLoginKey"] = webLoginKey.ToString(); parameters["?webLoginKey"] = webLoginKey.ToString();
parameters["?userFlags"] = userFlags.ToString(); parameters["?userFlags"] = userFlags.ToString();
parameters["?godLevel"] = godLevel.ToString(); parameters["?godLevel"] = godLevel.ToString();
parameters["?customType"] = customType.ToString(); parameters["?customType"] = customType == null ? "" : customType.ToString();
parameters["?partner"] = partner.ToString(); parameters["?partner"] = partner.ToString();
bool returnval = false; bool returnval = false;