Bug 771917

Summary: Transactions are broken
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Tomas Schlosser <tschloss>
Component: BRE (Expert, Fusion), jBPM 5Assignee: Marco Rietveld <mrietvel>
Status: CLOSED NOTABUG QA Contact: Tomas Schlosser <tschloss>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: BRMS 5.3.0.GACC: atangrin, brms-jira, lpetrovi, mproctor, mrietvel, smcgowan
Target Milestone: ---Keywords: TestBlocker
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-20 07:40:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tomas Schlosser 2012-01-05 11:38:02 UTC
Description of problem:
When using UserTransaction with jBPM the transactions don't work, i.e., rollback doesn't get back the previous state of session.

Version-Release number of selected component (if applicable):
BRMS-5.3.0.ER1
jboss.jbossts:jbossjta:4.9.0.GA

How reproducible:
Every time

Steps to Reproduce:
1. begin UserTransaction (or TransactionManager)
2. start process / abort process / activate nodes etc.
3. rollback transaction
  
Actual results:
jBPM is in the same state as before rollback

Expected results:
jBPM is in the same state as before beginning transaction

Additional info:
bugs 771840 and 771854 contain examples

Comment 2 Tomas Schlosser 2012-01-18 11:23:05 UTC
It seems the problem only occurs on the detached snapshots. I.e., load session from database, start transaction, perform some work, rollback transaction.
If anything is done with this instance of session it works wrong, but if the session is reloaded after rolling back the transaction it all works correctly. I'll have to investigate further to see how much it impacts the further work.

Comment 3 Mark Proctor 2012-01-19 00:56:50 UTC
This is assigned to BRE, yet it mentions the problem is jBPM. Can someone confirm if this is a BRE or jBPM bug, or both?

Comment 4 Lukáš Petrovický 2012-01-20 07:40:38 UTC
Closing this metabug, knowing that the issue will be dealt with in the two referenced bugs. Transactions are not broken - they only don't work as we expected them to.