[
https://jira.jboss.org/jira/browse/JBRULES-1922?page=com.atlassian.jira.p...
]
Steven Williams updated JBRULES-1922:
-------------------------------------
Attachment: AccumulateFunctionTest.java
Test showing two problems
Unable to add accumulate functions using drools-api
---------------------------------------------------
Key: JBRULES-1922
URL:
https://jira.jboss.org/jira/browse/JBRULES-1922
Project: JBoss Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: drools-api
Affects Versions: 5.0.0.M4
Reporter: Steven Williams
Assignee: Mark Proctor
Attachments: AccumulateFunctionTest.java
When using drools-api we are unable to add Accumulate functions that implement
org.drools.runtime.rule.AccumulateFunction.
There are two problems, highlighted in the test:
1) PackageBuilderConfiguration uses the incorrect index value when adding Accumulate
Functions (line 192)
2) PackageBuilderConfiguration casts to org.drools.base.accumulators.AccumulateFunction
(line 489)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira