[Mono-bugs] [Bug 79946][Nor] Changed - LosFormatter.Deserialize should not fail with String.Empty

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Nov 16 16:54:24 EST 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by gonzalo at ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=79946

--- shadow/79946	2006-11-16 09:02:38.000000000 -0500
+++ shadow/79946.tmp.13129	2006-11-16 16:54:24.000000000 -0500
@@ -1,12 +1,12 @@
 Bug#: 79946
 Product: Mono: Class Libraries
 Version: 1.1
 OS: unknown
 OS Details: 
-Status: NEW   
+Status: ASSIGNED   
 Resolution: 
 Severity: Unknown
 Priority: Normal
 Component: Sys.Web
 AssignedTo: gonzalo at ximian.com                            
 ReportedBy: informatique.internet at fiducial.fr               
@@ -83,6 +83,18 @@
 ------- Additional Comments From grendello at gmail.com  2006-11-16 07:21 -------
 Please apply the patch above and test if it fixes the problem. Thanks
 
 ------- Additional Comments From informatique.internet at fiducial.fr  2006-11-16 09:02 -------
 LosFormatter.Deserialize(String.Empty) should return null, and not
 string.empty!
+
+------- Additional Comments From gonzalo at ximian.com  2006-11-16 16:54 -------
+In MS 2.0 I get:
+[ArgumentNullException: Value cannot be null.
+Parameter name: inputString]
+   System.Web.UI.ObjectStateFormatter.Deserialize(String inputString)
++1971679
+   System.Web.UI.LosFormatter.Deserialize(String input) +11
+
+for a Deserialize (String.Empty).
+
+With 1.x, MS returns an empty string.


More information about the mono-bugs mailing list