You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Ean Schuessler (JIRA)" <ji...@apache.org> on 2009/12/16 19:28:18 UTC

[jira] Updated: (OFBIZ-3358) Capture function in billing account fails due to improperly specified classname

     [ https://issues.apache.org/jira/browse/OFBIZ-3358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ean Schuessler updated OFBIZ-3358:
----------------------------------

    Attachment: bigdecimal-capture-fix.patch

> Capture function in billing account fails due to improperly specified classname
> -------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3358
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3358
>             Project: OFBiz
>          Issue Type: Bug
>          Components: accounting
>    Affects Versions: Release Branch 4.0, Release Branch 9.04, SVN trunk
>            Reporter: Ean Schuessler
>             Fix For: Release Branch 4.0, Release Branch 9.04, SVN trunk
>
>         Attachments: bigdecimal-capture-fix.patch
>
>
> The capture function in the billing account invoice view is only displayed when getInvoiceNotApplied is equal to zero. The code which checks this attempts to compare to the BigDecimal constant BigDecimal.ZERO. BeanShell does not have java.math.* in its list of default packages to scan so the comparison fails with a missing class. This fix fully specifies the java.math.BigDecimal class.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.