[Mono-bugs] [Bug 422238] New: DataRowCollection Clear does not set rows as DataRowState .Detached

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Sep 2 13:53:53 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=422238


           Summary: DataRowCollection Clear does not set rows as
                    DataRowState.Detached
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Data
        AssignedTo: bnc-blr-team-mono at forge.provo.novell.com
        ReportedBy: jaebird at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Description of Problem:

When calling Clear within MS.NET, the cleared rows from DataTable are set as
"Detached" on the RowState property. When called from within Mono, the RowState
property is unchanged.

A quick look at the mono src shows that the RemoveAt method does call into the
DataRow to have its RowState property changed to Detached.


Expected Results:

Perform the same as MS.NET.

How often does this happen? 

Every time.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list