http://bugzilla.novell.com/show_bug.cgi?id=521951
User [email protected] added comment http://bugzilla.novell.com/show_bug.cgi?id=521951#c2 Timotheus Pokorra <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- OS/Version|Mac OS X 10.5 |All --- Comment #2 from Timotheus Pokorra <[email protected]> 2009-08-16 14:24:49 MDT --- I have now thoroughly investigated the problem, and have come to the conclusion that it is the same problem. In the example with the comboboxes, the Stacktrace you get in the exception "Cannot cast from source type to destination type." is: at System.Data.DataViewManager.CollectionToListChangeEventArgs (System.ComponentModel.CollectionChangeEventArgs e) [0x00000] at System.Data.DataViewManager.TableCollectionChanged (System.Object sender, System.ComponentModel.CollectionChangeEventArgs e) [0x00000] at System.Data.DataTableCollection.OnCollectionChanged (System.ComponentModel.CollectionChangeEventArgs ccevent) [0x00000] at System.Data.DataTableCollection.Add (System.Data.DataTable table) [0x00000] at System.Data.DataTableCollection.Add (System.String name) [0x00000] at testbugmonotables.MainForm..ctor () [0x00000] I have had a look into that file, and the cause of the problem is in revision 122315 by ivanz: http://anonsvn.mono-project.com/viewvc/trunk/mcs/class/System.Data/System.Data/DataViewManager.cs?r1=122315&r2=111855 e.Element is in our problem situation of type System.Data.DataTable, and the cast to DataRelation fails. It would be good to get that fixed. Thanks, Timo -- 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
