Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-12956

ListFixedAssets generates errors

    XMLWordPrintableJSON

Details

    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

        1. OFBIZ-12956.patch
          1 kB
          Jacques Le Roux

        Issue Links

          Activity

            People

              jleroux Jacques Le Roux
              pierresmits Pierre Smits
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: