[Mono-bugs] [Bug 82423][Nor] New - [PATCH] System.Transactions
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Mon Aug 13 12:31:29 EDT 2007
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 jaebird at gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=82423
--- shadow/82423 2007-08-13 12:31:29.000000000 -0400
+++ shadow/82423.tmp.10220 2007-08-13 12:31:29.000000000 -0400
@@ -0,0 +1,39 @@
+Bug#: 82423
+Product: Mono: Class Libraries
+Version: 1.2
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: System
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: jaebird at gmail.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: [PATCH] System.Transactions
+
+We are using CommitableTransaction and in MS the Dispose() causes a
+Rollback if not yet Committed. In mono this throws a
+NotImplementedException. I understand there may be more to do with Dispose
+when the rest of the transaction stuff comes online, but for now I need the
+MS behavior for our app.
+
+--- System.Transactions/System.Transactions/Transaction.cs (revision
+82491)
++++ System.Transactions/System.Transactions/Transaction.cs (working copy)
+@@ -109,7 +109,9 @@
+ [MonoTODO]
+ public void Dispose ()
+ {
+- throw new NotImplementedException ();
++ //throw new NotImplementedException ();
++ if (TransactionInformation.Status ==
+TransactionStatus.Active)
++ Rollback();
+ }
+
+ [MonoTODO]
More information about the mono-bugs
mailing list