[Mono-bugs] [Bug 74922][Min] New - Type not expected error message thrown by XmlSerializer.Serialize not informative enough

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 12 May 2005 07:01:05 -0400 (EDT)


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 ricardo.gladwell@btinternet.com.

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

--- shadow/74922	2005-05-12 07:01:05.000000000 -0400
+++ shadow/74922.tmp.3429	2005-05-12 07:01:05.000000000 -0400
@@ -0,0 +1,32 @@
+Bug#: 74922
+Product: Mono: Class Libraries
+Version: 1.1
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Minor
+Component: Sys.XML
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: ricardo.gladwell@btinternet.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Type not expected error message thrown by XmlSerializer.Serialize not informative enough
+
+Description of Problem: The error message thrown (see stacktrace.txt
+attached) when the  System.Xml.Serialization.XmlSerializer class serializes
+an object graph does not contain enough information to verify the object in
+the graph that is causnig the error.
+
+Steps to reproduce the problem:
+1. mcs Test.cs (see attached)
+2. mono Test.exe
+
+Actual Results: The serializer reports the missing object.
+
+Expected Results: The serializer does not report which object in the object
+graph is causing the issue. More information to pin-point the missing type
+would be helpful diagnosing bugs.