Bug 872548

Summary: Duplicated main agenda group on session reset
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Maciej Swiderski <mswiders>
Component: jBPM 5, jBPM ConsoleAssignee: Mario Fusco <mfusco>
Status: VERIFIED --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: BRMS 5.3.0.GA   
Target Milestone: ER4   
Target Release: BRMS 5.3.1 GA   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
When a rule or a process raises an exception the agenda is reset by marshaling the old one and unmarhaling it into a new one. The unmarhaling process had a bug causing the duplication of the main agenda group in the resulting agenda. After the raising of an Exception and the subsequent reset of the agenda, the agenda itself was no longer usable. This has been resolved, and now the agenda works correctly even after an exception is thrown by a rule or a process.
Story Points: ---
Clone Of: Environment:
Last Closed: 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 Maciej Swiderski 2012-11-02 12:17:39 UTC
Description of problem:


In case knowledge session is reset (for instance due to transaction rollback) main agenda group is duplicated. First time is added by clear method in DefaultAgenda and then right after by the marshaller

Consequence of it is that rules are not fired after session reset.

This is a backport of jira JBRULES-3677

Version-Release number of selected component (if applicable):


How reproducible:
See bz https://bugzilla.redhat.com/show_bug.cgi?id=862296 for all steps that needs to be taken to reproduce it. That bz was about transactions but revealed problem with handling rule tasks in the processes

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 JBoss JIRA Server 2012-11-02 14:09:35 UTC
Mario Fusco <mario.fusco> updated the status of jira JBRULES-3677 to Resolved

Comment 2 Mario Fusco 2012-11-02 14:11:05 UTC
Fix available and ready to be backported.

Comment 4 lcarlon 2012-11-09 03:52:46 UTC
Hi Mario,

could you review this bug to see if it should be included in the release notes, and provide the content if it should.

(This is the last one)

Thanks
Lee

Comment 5 Marek Winkler 2012-11-13 10:37:06 UTC
Verified on 5.3.1.BRMS-ER4.