Bug 771917 - Transactions are broken
Summary: Transactions are broken
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: BRE (Expert, Fusion), jBPM 5
Version: BRMS 5.3.0.GA
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: ---
Assignee: Marco Rietveld
QA Contact: Tomas Schlosser
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-05 11:38 UTC by Tomas Schlosser
Modified: 2016-09-20 05:04 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-01-20 07:40:38 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 771840 0 unspecified CLOSED Activations are not deleted after rollback 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 771854 0 unspecified CLOSED ProcessInstance state is not updated after rollback 2021-02-22 00:41:40 UTC

Internal Links: 771840 771854

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.


Note You need to log in before you can comment on or make changes to this bug.