Bug 1033051 - drools-spring-legacy5 references kie-api instead of legacy drools 5 api
Summary: drools-spring-legacy5 references kie-api instead of legacy drools 5 api
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: BRE
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ER6
: 6.0.0
Assignee: Mario Fusco
QA Contact: Marek Winkler
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-21 13:26 UTC by Marek Winkler
Modified: 2014-08-06 20:18 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:18:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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