Bug 1036096

Summary: KieModule resulting from an incremental compilation cannot be used to update a KieContainer
Product: [Retired] JBoss BRMS Platform 6 Reporter: Mario Fusco <mfusco>
Component: BREAssignee: Mario Fusco <mfusco>
Status: CLOSED CURRENTRELEASE QA Contact: Marek Winkler <mwinkler>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.0.0CC: rrajasek
Target Milestone: ER6   
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:17: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:
Embargoed:

Description Mario Fusco 2013-11-29 12:37:55 UTC
Programmatic incremental compilation modifies the existing KieModule in place instead of creating a new one. This makes impossible to upgrade a KieContainer with the kieModulre resulting from the incremental compilation. In fact in this case the new KieModule is identical (same instance) to the old one making the automatic KieModule comparison useless.

Comment 1 Mario Fusco 2013-11-29 12:38:34 UTC
Fixed by https://github.com/droolsjbpm/drools/commit/629f1bf12

Comment 3 Marek Winkler 2014-01-03 15:35:47 UTC
Verified on BRMS 6.0.0 ER6.

Comment 4 JBoss JIRA Server 2014-02-12 08:52:59 UTC
Mario Fusco <mario.fusco> updated the status of jira DROOLS-358 to Resolved