[Mono-bugs] [Bug 74205][Nor] New - ListBox.FindByText always finds a value even if it doesn't exist

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 29 Mar 2005 17:27:04 -0500 (EST)


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 eto@shaw.ca.

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

--- shadow/74205	2005-03-29 17:27:04.000000000 -0500
+++ shadow/74205.tmp.13068	2005-03-29 17:27:04.000000000 -0500
@@ -0,0 +1,40 @@
+Bug#: 74205
+Product: Mono: Class Libraries
+Version: 1.1
+OS: GNU/Linux [Other]
+OS Details: gentoo
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Web
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: eto@shaw.ca               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: ListBox.FindByText always finds a value even if it doesn't exist
+
+Description of Problem:
+When trying to see if an item exists in a ListBox web control using the 
+FindByText method, it will always return a value even if it doesn't 
+contain an item with the specified text.
+
+Steps to reproduce the problem:
+1. Unzip attached sample
+2. Run using xsp
+3. Open up browser to WebForm1.aspx
+
+Actual Results:
+Loops forever and never returns
+
+Expected Results:
+Returns with the items added to the list
+
+How often does this happen? 
+Every time
+
+Additional Information:
+The same problem might affect the combo box or other ListControl-derived 
+controls.