Bug 1011521

Summary: session-migration: fireAllRules is ignored.
Product: [Retired] JBoss BPMS Platform 6 Reporter: Marek Baluch <mbaluch>
Component: jBPM CoreAssignee: Maciej Swiderski <mswiders>
Status: CLOSED CURRENTRELEASE QA Contact: Marek Baluch <mbaluch>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.0   
Target Milestone: ER5   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:09:53 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:
Attachments:
Description Flags
process
none
drl none

Description Marek Baluch 2013-09-24 13:17:09 UTC
Created attachment 802220 [details]
process

Description of problem:
Having a simple process start->businessRuleTask->end it is not possible to complete such a process when migrated from jbpm5 to jbpm6. First impression is that the call to ksession.fireAllRules() has no effect what so ever.

How to reproduce:
(using the attached process definition and drl)
1) start the process in jbpm5
2) fireAllRules in jbpm6

Env:
mysql55

Comment 1 Marek Baluch 2013-09-24 13:17:31 UTC
Created attachment 802221 [details]
drl

Comment 2 Marek Baluch 2013-09-24 13:39:01 UTC
May be related to BZ-1011514

Comment 3 Maciej Swiderski 2013-09-27 11:21:35 UTC
there were few things missing:
1. incorrect column name in EventTypes table (not backward compatible) see 
2. RuleFLowGroups were not properly loaded from protobuf due to change in RuleFlowGroup/AgendaGroup handling (drools commits)
3. Missing ruleFlowGroup name attribute as in v5 it was not dynamic

jbpm
master
https://github.com/droolsjbpm/jbpm/commit/b10644be448a042a882cd95c5d86791e9adf7ccd

6.0.x
https://github.com/droolsjbpm/jbpm/commit/e508d9152e34ee60fd4c496bb61369139fe2162a

drools
master
https://github.com/droolsjbpm/drools/commit/f7dcfbcb389ed6a4f86c6e7db1caca5d8f0e30d4

6.0.x
https://github.com/droolsjbpm/drools/commit/aeff477c718194f1d73ddb7987b383ea6cf33c4b

Comment 4 Marek Baluch 2013-11-25 11:24:03 UTC
Verified on ER5.