[
https://issues.redhat.com/browse/DROOLS-4624?page=com.atlassian.jira.plug...
]
Mario Fusco resolved DROOLS-4624.
---------------------------------
Resolution: Explained
My understanding is that in your case the 'amount' field is of type String, so
yes, it is necessary to convert it to a proper numeric value before being able to sum it
up. Is this not what you expected? If I'm not understanding correctly please feel free
to reopen this jira and attach a complete reproducer.
Accumulate doesn't get modified and parsed to double String
correctly
---------------------------------------------------------------------
Key: DROOLS-4624
URL:
https://issues.redhat.com/browse/DROOLS-4624
Project: Drools
Issue Type: Bug
Environment: 7.27.0.Final
Reporter: Almas Toimbekov
Assignee: Mario Fusco
Priority: Optional
Labels: accumulate, modify
I have to sum one field on all objects of "Resource" class. And I found out
that accumulate's behavior is odd when before accumulating I am modifying that field.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)