[Mono-bugs] [Bug 615800] New: OnDeserializing is not called by DataContractJsonSerializer

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jun 21 02:51:47 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=615800

http://bugzilla.novell.com/show_bug.cgi?id=615800#c0


           Summary: OnDeserializing is not called by
                    DataContractJsonSerializer
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: Class Libraries
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: Manfred at pp-p.net
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Description of Problem:
To initialize my objects I decorate a method with the attribute
OnDeserializing - but the metod never gets called.

Steps to reproduce the problem:
1. Create a class with DataContract and implement [OnDeserializing]
2. Create an object
3. Serialize the object with DataContractJsonSerializer to a string
4. Deserialize it


Actual Results:
The OnDeserializing decorated methode is not called

Expected Results:
The method should be call

How often does this happen? 
Allways

Additional Information:
I have a small sample here: http://forums.monotouch.net/yaf_postst843.aspx

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


More information about the mono-bugs mailing list