[Mono-bugs] [Bug 646447] New: System.Json.JsonObject's Add method doesn't accept null value.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Oct 14 02:57:05 EDT 2010



           Summary: System.Json.JsonObject's Add method doesn't accept
                    null value.
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.8.x
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: jeffz at live.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Development
           Blocker: Yes

Description of Problem:

When pass null value to JsonObject's Add method will throw

Steps to reproduce the problem:

var obj = new JsonObject();
obj.Add("foo", null);

Actual Results:

Throws an ARgumentNullException

Expected Results:

get an object: { foo : null }

How often does this happen? 


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.
You are the assignee for the bug.

More information about the mono-bugs mailing list