[Mono-bugs] [Bug 75226][Nor] New - System.Data cascading on update triggered too often

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Jun 10 20:22:23 EDT 2005


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 george.barbarosie at gmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=75226

--- shadow/75226	2005-06-10 20:22:22.000000000 -0400
+++ shadow/75226.tmp.2116	2005-06-10 20:22:22.000000000 -0400
@@ -0,0 +1,49 @@
+Bug#: 75226
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Data
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: george.barbarosie at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: System.Data cascading on update triggered too often
+
+On svn HEAD, update cascading is triggered even when the fields that
+changed on parent are not referred by another table.
+
+I haven't had a chance to see what MS .NET does in this case, so if anyone
+can test if this is a bigger ADO.NET problem or a MONO specific one, plz do.
+
+Testcase zip included. 
+
+To compile, 
+mcs -r:System.Data test.cs DumpDataSet.cs
+
+Expected result:
+DataSet: testds
+ - Table: parent
+   * Row state Modified
+     [original] id=0 data=something on parent
+     [current ] id=0 data=hello
+ - Table: child
+   * Row state Unchanged
+     [original] id=0 parent=0 data=something on child
+
+Actual result:
+DataSet: testds
+ - Table: parent
+   * Row state Modified
+     [original] id=0 data=something on parent
+     [current ] id=0 data=hello
+ - Table: child
+   * Row state Modified
+     [original] id=0 parent=0 data=something on child
+     [current ] id=0 parent=0 data=something on child


More information about the mono-bugs mailing list