[Mono-bugs] [Bug 80427][Nor] New - CheckedListBox: GetItemText returns incorrect result

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Jan 2 11:40:39 EST 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by gert.driesen at pandora.be.

http://bugzilla.ximian.com/show_bug.cgi?id=80427

--- shadow/80427	2007-01-02 11:40:39.000000000 -0500
+++ shadow/80427.tmp.6085	2007-01-02 11:40:39.000000000 -0500
@@ -0,0 +1,31 @@
+Bug#: 80427
+Product: Mono: Class Libraries
+Version: 1.2
+OS: GNU/Linux [Other]
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: gert.driesen at pandora.be               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: CheckedListBox: GetItemText returns incorrect result
+
+CheckedListBox.GetItemText (and therefor also the Text property) return 
+incorrect results when DisplayMember is set but no DataSource has been 
+set.
+
+On Mono, the result is always ToString on the specified item while on MS 
+the value of the propety corresponding with DisplayMember is returned (if 
+set).
+
+I've committed a NotWorking unit test named "GetItemText" for this in 
+CheckedListBoxTest.cs.
+
+There are other unit tests in CheckedListBoxTest.cs that fail because of 
+this issue.


More information about the mono-bugs mailing list