[
https://issues.jboss.org/browse/DROOLS-2595?page=com.atlassian.jira.plugi...
]
Geoffrey De Smet commented on DROOLS-2595:
------------------------------------------
Example of problem:
Input: Cheese("stilton", 30), Cheese("stilton", 40)
What's the average price for stilton? 35 - OK
What's the average price for cheddar? null - OK
Add Cheese("cheddar", 50).
What's the average price for cheddar? 50 - OK
Remove Cheese("cheddar", 50).
What's the average price for cheddar? 0 - NOT OK, should be null just like originally
Average accumulate function should return null instead of zero when
no facts are matched
----------------------------------------------------------------------------------------
Key: DROOLS-2595
URL:
https://issues.jboss.org/browse/DROOLS-2595
Project: Drools
Issue Type: Bug
Components: core engine
Reporter: Mario Fusco
Assignee: Mario Fusco
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)