Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
When doing a search/find on assets in accounting following error is generated
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')
see https://demo-trunk.ofbiz.apache.org/accounting/control/ListFixedAssets
Attachments
Attachments
Issue Links
- is caused by
-
OFBIZ-12852 Convert FixedAssetServices.xml mini lang to groovy
- Closed