http://bugzilla.novell.com/show_bug.cgi?id=557289
http://bugzilla.novell.com/show_bug.cgi?id=557289#c0 Summary: [Regression] DataTable.EndCurrentEdit is not working Classification: Mono Product: Mono: Class Libraries Version: SVN Platform: Other OS/Version: openSUSE 11.0 Status: NEW Severity: Normal Priority: P5 - None Component: Sys.Data AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.9.0.14) Gecko/2009090900 SUSE/3.0.14-0.1.2 Firefox/3.0.14 Working with a DataView from a DataTable: calling AddNew () causes a ListChanged event with ListChangedType.ItemAdded, and we are supposed the same event when confirming the addition by calling IEditableObject.EndEdit () on the just added object: DataTable table = ...; IBindingList list = ((IListSource)table).GetList () as IBindingList; IEditableObject new_object = list.AddNew () as IEditableObject; new_object.EndEdit (); // this is *not* causing a ListChanged event This is a major problem since it's a *regression* from previous versions, and second, because it's affecting our DataGrid impl in winforms. I guess we are missing test cases for this feature? ALSO: I remember this one was working 3-4 weeks ago, so it's probably a recent issue. Reproducible: Always Steps to Reproduce: use the test case Actual Results: we are getting just one call to our delegate, which prints info about the ListChanged event. Expected Results: We should get two calls to our even handler, both of them should be ListChangedType.ItemAdded -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
