[Mono-bugs] [Bug 66838][Nor] New - RowNotInTableException when setting parent row of newly created DataRow
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sat, 25 Sep 2004 12:52:53 -0400 (EDT)
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 gert.driesen@pandora.be.
http://bugzilla.ximian.com/show_bug.cgi?id=66838
--- shadow/66838 2004-09-25 12:52:53.000000000 -0400
+++ shadow/66838.tmp.13262 2004-09-25 12:52:53.000000000 -0400
@@ -0,0 +1,31 @@
+Bug#: 66838
+Product: Mono: Class Libraries
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Sys.Data
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: gert.driesen@pandora.be
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: RowNotInTableException when setting parent row of newly created DataRow
+
+When setting the parent row of a newly created DataRow, the following
+exception is thrown on mono (both 1.0.2 and CVS HEAD) :
+
+Unhandled Exception: System.Data.RowNotInTableException: This row has
+been removed from a table and does not have any data. BeginEdit() will
+allow creation of new data in this row.
+in <0x00098> System.Data.DataRow:SetParentRow
+(System.Data.DataRow,System.Data.DataRelation)
+in <0x00381> DataRowTest.EntryPoint:Main (string[])
+
+I've attached a repro for this issue (just extract the tar and run make).
+
+The same code works fine using MS.NET.