[Mono-bugs] [Bug 646556] New: Binary serialization/deserialization do not work correctly if object contains nullable DateTime type.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Oct 14 10:33:55 EDT 2010


https://bugzilla.novell.com/show_bug.cgi?id=646556

https://bugzilla.novell.com/show_bug.cgi?id=646556#c0


           Summary: Binary serialization/deserialization do not work
                    correctly if object contains nullable DateTime type.
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.8.x
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: debug
        AssignedTo: martin at novell.com
        ReportedBy: feng.chen at hrblock.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Community User
           Blocker: Yes


Created an attachment (id=394968)
 --> (http://bugzilla.novell.com/attachment.cgi?id=394968)
Demo program shows binary serialization/deserialization problem.

Description of problem:

If an object contains nullable DateTime type, files binary-serialized in .NET
cannot be binary-deserialized in Mono. And vice visa.

Steps to reproduce the problem:
1. Build the attached program
2. Run it with .NET -- it generates two files: Employee.data and
EmployeeWithNullableDateTime.data
3. Run it with Mono -- it generates two other files: Employee_mono.data and
EmployeeWithNullableDateTime_mono.data
4. run the program with parameter "-t" with .NET
5. run the program with parameter "-t" with Mono
6. Compare the output of step 4 and 5.


Actual Results:
File serialized with .NET cannot be deserialized in Mono.
File serialized with Mono cannot be deserialized in .NET.

Expected Results:
Data serialization/deserializaton should be compatable between .NET and Mono.

How often does this happen? 
always

Additional Information:

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list