[
https://jira.jboss.org/jira/browse/JBRULES-1922?page=com.atlassian.jira.p...
]
Edson Tirelli closed JBRULES-1922.
----------------------------------
Fix Version/s: 5.0.0.CR1
Resolution: Done
I added API configuration for accumulate functions. Please take a look at the test here:
http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-compiler...
My only question, after seeing your test is if we should use the $ notation for inner
classes or not. As it is, it is using and it is working. I will not change this for now.
Talk to me if you think different.
Thanks for reporting.
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: Edson Tirelli
Fix For: 5.0.0.CR1
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