[
https://issues.apache.org/jira/browse/OFBIZ-6386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacques Le Roux closed OFBIZ-6386.
----------------------------------
Resolution: Fixed
Fix Version/s: Release Branch 15.12
16.11.02
Upcoming Release
Thanks Gareth for you patch, Mridul and Jacopo for discussions,
Fixed in
trunk r1786079
R16.11 r1786080
R15.12 r1786082
I did not backport further because of too much conflicts
> compareBigDecimals in org.ofbiz.minilang.method.conditional.Compare does not compare certain values correctly
> -------------------------------------------------------------------------------------------------------------
>
> Key: OFBIZ-6386
> URL:
https://issues.apache.org/jira/browse/OFBIZ-6386> Project: OFBiz
> Issue Type: Bug
> Affects Versions: Trunk
> Reporter: Gareth Carter
> Assignee: Jacques Le Roux
> Priority: Minor
> Fix For: Upcoming Release, 16.11.02, Release Branch 15.12
>
> Attachments: compareBigDecimals.png, OFBIZ-6386_1783753.patch, v1.patch, v2.patch
>
>
> Moving the conversation from OFBIZ-6291 to this issue.
> compareBigDecimals scales down and rounds up meaning you lose information and the comparison result is not as expected
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)