[Mono-bugs] [Bug 698130] New: BindingSource with DataSource as Type and a DataMember throws ArgumentException("dataMember") on Form initialization
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sat Jun 4 17:46:52 EDT 2011
https://bugzilla.novell.com/show_bug.cgi?id=698130
https://bugzilla.novell.com/show_bug.cgi?id=698130#c0
Summary: BindingSource with DataSource as Type and a DataMember
throws ArgumentException("dataMember") on Form
initialization
Classification: Mono
Product: Mono: Class Libraries
Version: 2.10.x
Platform: 32bit
OS/Version: openSUSE 11.3
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Windows.Forms
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: 65rnov at gmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
Created an attachment (id=432976)
--> (http://bugzilla.novell.com/attachment.cgi?id=432976)
This program confirms the bug.
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17)
Gecko/20110422 Ubuntu/10.04 (lucid) Firefox/3.6.17
When you have a bindingsource that has a datasource which is a type and not a
value, and you specified a datamember property, the Windows Form application
throws a ArgumentException("dataMember");
Reproducible: Always
Steps to Reproduce:
1. Add a bindingSource to a Winform
2. Set the bindingSource to a type
3. Specify a datamember property
4. Run the program and a ArgumentException will be thrown on Linux only and not
Windows
Actual Results:
ArgumentException("dataMember") is thrown
Expected Results:
No exception should be thrown and the bindingSource should work as expected.
I have comitted a bugfix for this issue on my own fork:
https://github.com/user65/mono/commit/14202ecd5e797f442d5d46f1cf2e24a76e2ae21e
--
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