https://bugzilla.novell.com/show_bug.cgi?id=656021
https://bugzilla.novell.com/show_bug.cgi?id=656021#c0 Summary: Cannot pass null to named GET parameter in code Classification: Mono Product: Mono: Class Libraries Version: 2.8.x Platform: x86-64 OS/Version: Windows 7 Status: NEW Severity: Normal Priority: P5 - None Component: WCF AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7 When passing null in the URI to a GET call with a named value, I get "Unhandled Exception: System.ArgumentException: The argument name value collection does not contain non-null value for 'BLAH'". However, when I GET in the browser, http://localhost:1337/Joe?age=1337 leaving off the "blah", it works fine. IHello.SayHi in the included code. Reproducible: Always Steps to Reproduce: 1. Compile the shared library code. 2. Compile the server and client code referencing the shared library, uncomment the commented out line. 3. Run the server, then client. Actual Results: Unhandled Exception: System.ArgumentException: The argument name value collection does not contain non-null value for 'BLAH' Expected Results: Hi Joe: 42, true printed. Code: Shared library: http://pastebin.com/WSfiaj63 Server: http://pastebin.com/veJ9JubX Client: http://pastebin.com/jniuHsiz -- 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
