You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Jacques Le Roux (Jira)" <ji...@apache.org> on 2024/03/21 16:12:00 UTC
[jira] [Updated] (OFBIZ-12956) ListFixedAssets generates errors
[ https://issues.apache.org/jira/browse/OFBIZ-12956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacques Le Roux updated OFBIZ-12956:
------------------------------------
Summary: ListFixedAssets generates errors (was: ListFixedAssets generates an error)
> ListFixedAssets generates errors
> --------------------------------
>
> Key: OFBIZ-12956
> URL: https://issues.apache.org/jira/browse/OFBIZ-12956
> Project: OFBiz
> Issue Type: Bug
> Components: accounting, assetmaint/assetmaint
> Reporter: Pierre Smits
> Assignee: Jacques Le Roux
> Priority: Major
> Attachments: OFBIZ-12956.patch
>
>
> When doing a search/find on assets in accounting following error is generated
> {code:java}
> java.lang.RuntimeException: Error rendering included grid named [ListFixedAssets] at location [component://accounting/widget/FixedAssetForms.xml]: java.lang.IllegalArgumentException: Error in form [ListFixedAssets] calling service with name [calculateFixedAssetDepreciation]: org.apache.ofbiz.service.GenericServiceException: Error running Groovy method [calculateFixedAssetDepreciation] in Groovy file [component://accounting/src/main/groovy/org/apache/ofbiz/accounting/fixedasset/FixedAssetServices.groovy]: (Cannot cast object '1711' with class 'java.lang.String' to class 'int')java.lang.IllegalArgumentException: Error in form [ListFixedAssets] calling service with name [calculateFixedAssetDepreciation]: org.apache.ofbiz.service.GenericServiceException: Error running Groovy method [calculateFixedAssetDepreciation] in Groovy file [component://accounting/src/main/groovy/org/apache/ofbiz/accounting/fixedasset/FixedAssetServices.groovy]: (Cannot cast object '1711' with class 'java.lang.String' to class 'int')
> {code}
> see https://demo-trunk.ofbiz.apache.org/accounting/control/ListFixedAssets
--
This message was sent by Atlassian Jira
(v8.20.10#820010)