https://bugzilla.novell.com/show_bug.cgi?id=422475
Summary: DataSet serialization error with all NULLs table rows
Product: Mono: Class Libraries
Version: 2.0
Platform: i686
OS/Version: Windows Vista
Status: NEW
Severity: Major
Priority: P5 - None
Component: Sys.Data
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
Found By: Development
Hello.
DataSet diffgram serialization missed row ID when serialize DataTable row with
all NULL values.
So MS .NET DataSet can not deserialize data getted from the MONO server.
here is example of the serialized diffgram:
<diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"
xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1">
<NewDataSet>
<Data5_x0040_Unit5 diffgr:id="[EMAIL PROTECTED]"
msdata:rowOrder="0"
diffgr:hasChanges="modified">
<ColString>Test catalog</ColString>
<pk>TestCaseInterface.IBizClass5, TestCaseInterface,
Version=1.0.0.0, Culture=neutral,
PublicKeyToken=null:80065781-b552-44c6-b9ce-3dc6d13a5228:13c73feb-d4ec-46a3-ac32-61d70a529ebe</pk>
</Data5_x0040_Unit5>
<Data5_x0040_Unit5 diffgr:id="[EMAIL PROTECTED]"
msdata:rowOrder="1"
diffgr:hasChanges="modified">
<pk>TestCaseInterface.IBizClass5, TestCaseInterface,
Version=1.0.0.0, Culture=neutral,
PublicKeyToken=null:80065781-b552-44c6-b9ce-3dc6d13a5228:80065781-b552-44c6-b9ce-3dc6d13a5228</pk>
</Data5_x0040_Unit5>
</NewDataSet>
<diffgr:before>
<Data5_x0040_Unit5 diffgr:id="[EMAIL PROTECTED]"
msdata:rowOrder="0">
<ColString>Test catalog</ColString>
</Data5_x0040_Unit5>
<Data5_x0040_Unit5 />
</diffgr:before>
</diffgr:diffgram>
note diffgr:before/Data5_x0040_Unit5 element
for proper deserialization it must be like this
<Data5_x0040_Unit5 diffgr:id="[EMAIL PROTECTED]" msdata:rowOrder="1" />
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs