[seam-commits] Seam SVN: r15478 - branches/enterprise/JBPAPP_5_0/src/main/org/jboss/seam/contexts.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Mon Apr 22 08:46:16 EDT 2013


Author: manaRH
Date: 2013-04-22 08:46:16 -0400 (Mon, 22 Apr 2013)
New Revision: 15478

Modified:
   branches/enterprise/JBPAPP_5_0/src/main/org/jboss/seam/contexts/Contexts.java
Log:
JBPAPP-10382 fixed 'thread is already associated with a transaction\!'

Modified: branches/enterprise/JBPAPP_5_0/src/main/org/jboss/seam/contexts/Contexts.java
===================================================================
--- branches/enterprise/JBPAPP_5_0/src/main/org/jboss/seam/contexts/Contexts.java	2013-04-16 22:28:26 UTC (rev 15477)
+++ branches/enterprise/JBPAPP_5_0/src/main/org/jboss/seam/contexts/Contexts.java	2013-04-22 12:46:16 UTC (rev 15478)
@@ -345,7 +345,7 @@
             
             //TODO: it would be nice if BP context spanned redirects along with the conversation
             //      this would also require changes to BusinessProcessContext
-            if ( Init.instance().isTransactionManagementEnabled() )
+            if ( Init.instance().isTransactionManagementEnabled() && Init.instance().isJbpmInstalled() )
             {
                try
                {



More information about the seam-commits mailing list