Bug 1033051

Summary: drools-spring-legacy5 references kie-api instead of legacy drools 5 api
Product: [Retired] JBoss BRMS Platform 6 Reporter: Marek Winkler <mwinkler>
Component: BREAssignee: Mario Fusco <mfusco>
Status: CLOSED CURRENTRELEASE QA Contact: Marek Winkler <mwinkler>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.0CC: etirelli
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:18:41 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:

Description Marek Winkler 2013-11-21 13:26:59 UTC
Description of problem:

Class drools-spring-legacy5/src/main/java/org/drools/container/spring/beans/persistence/DroolsSpringJpaManager.java references org.kie.api.runtime.Environment, but it should reference org.drools.runtime.Environment.

Similar problem is in drools-spring-legacy5/org/drools/container/spring/beans/KnowledgeBaseBeanFactory.java: org.kie.api.runtime.rule.AccumulateFunction is used instead of org.drools.runtime.rule.AccumulateFunction.

Other classes could be affected as well.

Setting the priority to high because this bug breaks backward compatibility.

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

Drools 6.0.0-SNAPSHOT
BRMS 6.0.0 ER4

Comment 1 Mario Fusco 2013-11-25 15:40:17 UTC
Fixed Environment compatibility with https://github.com/droolsjbpm/drools/commit/0138c4e29 and https://github.com/droolsjbpm/droolsjbpm-integration/commit/a2e83cf78

I don't think it is possible to achieve the same with the AccumulateFunction.

Comment 2 Marek Winkler 2014-01-10 11:42:00 UTC
Verified the Environment fix on BRMS 6.0.0 ER7.

I will investigate the AccumulateFunction further and file another bug, if needed.