Bug 1096128 - Incremental compilation doesn't work with included KieBases
Summary: Incremental compilation doesn't work with included KieBases
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: BRE
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: CR1
: 6.0.2
Assignee: Mario Fusco
QA Contact: Marek Winkler
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-09 09:20 UTC by Mario Fusco
Modified: 2014-08-06 19:53 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-06 19:53:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker DROOLS-462 0 Major Resolved KieContainer#updateToVersion does not update 'included' rules. 2018-11-19 14:21:07 UTC
Red Hat Issue Tracker DROOLS-477 0 Major Resolved KieScanner is not working as expected 2018-11-19 14:21:07 UTC

Description Mario Fusco 2014-05-09 09:20:05 UTC
KieContainer#updateToVersion does not update 'included' KieBases. For this reason also the KieScanner doesn't work as expected when a new version of a KieBase that is included in a second KieBase is available on the maven repository.

Comment 2 Mario Fusco 2014-05-09 09:22:31 UTC
Fixed by https://github.com/droolsjbpm/drools/commit/0b3233a3d

Comment 4 Mario Fusco 2014-05-12 10:34:36 UTC
Cherry-picked to 6.0.x branch with https://github.com/droolsjbpm/drools/commit/ebebeb504

Comment 5 Marek Winkler 2014-06-06 10:45:56 UTC
Verified that the changes in included KieBases are picked up, however, changes made in the KieModule, which includes the other KieModule, are not.

I have experienced the problem with business-central and KieScanner, but managed to isolate it in a unit test. Please see the reproducer in https://github.com/droolsjbpm/drools/pull/344.

Comment 6 Mario Fusco 2014-06-09 12:49:19 UTC
Fixed by https://github.com/droolsjbpm/drools/commit/7ac809256

Comment 7 Mario Fusco 2014-06-09 12:59:30 UTC
Cherry-picked to 6.1.x branch with https://github.com/droolsjbpm/drools/commit/3a059b98d

Comment 8 Mario Fusco 2014-06-09 13:06:58 UTC
Cherry-picked to 6.0.x branch with https://github.com/droolsjbpm/drools/commit/e788e74fa

Comment 9 Marek Winkler 2014-06-17 12:16:08 UTC
Verified on BRMS 6.0.2 CR1.


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