[Mono-bugs] [Bug 50582][Maj] Changed - DataTable - Select skips on DataViewRowState is None

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 5 Nov 2003 03:50:35 -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 erand@mainsoft.com.


--- shadow/50582	2003-11-05 01:11:00.000000000 -0500
+++ shadow/50582.tmp.32033	2003-11-05 03:50:35.000000000 -0500
@@ -1,14 +1,14 @@
 Bug#: 50582
 Product: Mono/Class Libraries
 Version: unspecified
+OS: unknown
 OS Details: 
 Status: NEW   
+Severity: Unknown
 Priority: Major
 Component: System.Data
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: ximian@aksi.mdamt.net               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -41,6 +41,15 @@
 ------- Additional Comments From ximian@aksi.mdamt.net  2003-11-05 01:10 -------
 Created an attachment (id=5878)
 the patch
+------- Additional Comments From erand@mainsoft.com  2003-11-05 03:50 -------
+I have checked in ADO.NET and the behavior there is the same. When
+sending a DataViewRowState.None to the Select method they also return
+an empty array. So I think this is the correct behavior and not a bug,
+and the patch does not fix it.
+The problem is in DataView. It initialize RowStateFilter to None
+instead of CurrenRow. I fixed it and commited the change to CVS.