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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)
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


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.

Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)

     [ 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.

Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-3358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12791516#action_12791516 ]

Ean Schuessler commented on OFBIZ-3358:
---------------------------------------

This problem was introduced by Jacopo in revision 576060

> 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.

Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Adam Heath updated OFBIZ-3358:
------------------------------

    Affects Version/s:     (was: Release Branch 4.0)
        Fix Version/s:     (was: Release Branch 4.0)
             Assignee: Adam Heath

> 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 9.04, SVN trunk
>            Reporter: Ean Schuessler
>            Assignee: Adam Heath
>             Fix For: 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.

Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Adam Heath resolved OFBIZ-3358.
-------------------------------

    Resolution: Fixed

Applied fix to trunk 891378, and the 09.04 branch at 891380.

> 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 9.04, SVN trunk
>            Reporter: Ean Schuessler
>            Assignee: Adam Heath
>             Fix For: 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.

Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Adam Heath closed OFBIZ-3358.
-----------------------------


As noticed, it's been resolved.

> 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 9.04, SVN trunk
>            Reporter: Ean Schuessler
>            Assignee: Adam Heath
>             Fix For: 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.