mrcl23 / xmlrpcnet

Automatically exported from code.google.com/p/xmlrpcnet
0 stars 0 forks source link

XmlRpcSerializer.ParseFault throws when receives string fault code when AllowStringFaultCode == true #77

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Used version: 2.5

Seems like a misspelling in XmlRpcSerializer.cs line: 1838
Observed code:
if (AllowStringFaultCode)
  throw;
else
  //try parse string fault code

Expected:
if (AllowStringFaultCode)
  //try parse string fault code
else
  throw;

Original issue reported on code.google.com by Ivan.Bac...@gmail.com on 19 Oct 2010 at 3:42

GoogleCodeExporter commented 9 years ago
Fixed in revision 131. Fixed by ignoring AllowStringFaultCode setting
and always allowing string fault code, so as not to break applications which
rely on faulty behaviour.

Original comment by ChasC...@gmail.com on 19 Oct 2010 at 7:11

GoogleCodeExporter commented 9 years ago

Original comment by ChasC...@gmail.com on 19 Oct 2010 at 7:14

GoogleCodeExporter commented 9 years ago

Original comment by ChasC...@gmail.com on 6 Mar 2011 at 10:24