You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Arun Patidar (JIRA)" <ji...@apache.org> on 2015/09/19 13:10:06 UTC
[jira] [Resolved] (OFBIZ-5927) Issue reported while performing
Refund & Void (java.lang.ClassCastException: java.lang.String cannot be
cast to java.math.BigDecimal)
[ https://issues.apache.org/jira/browse/OFBIZ-5927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arun Patidar resolved OFBIZ-5927.
---------------------------------
Resolution: Fixed
Committed the changes at rev-1703981 in trunk.
> Issue reported while performing Refund & Void (java.lang.ClassCastException: java.lang.String cannot be cast to java.math.BigDecimal)
> -------------------------------------------------------------------------------------------------------------------------------------
>
> Key: OFBIZ-5927
> URL: https://issues.apache.org/jira/browse/OFBIZ-5927
> Project: OFBiz
> Issue Type: Bug
> Affects Versions: Trunk, 12.04.05, 13.07.01
> Reporter: Prateek
> Assignee: Arun Patidar
> Attachments: OFBIZ-5927.patch
>
>
> Issue reported while performing Refund & Void (java.lang.ClassCastException: java.lang.String cannot be cast to java.math.BigDecimal)
> Change needs to be done in AIMPaymentServices.java. Please look at the following small patch:-
>
> //BigDecimal amount = (BigDecimal) request.get("x_Amount");
> String newAmt = request.get("x_Amount").toString();
> BigDecimal amount = new BigDecimal(newAmt);
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)