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
parent
a7a385937e
commit
d2f2ec12fd
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue