You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by as...@apache.org on 2016/06/04 09:08:23 UTC

svn commit: r1746794 - /ofbiz/branches/release14.12/applications/accounting/webapp/accounting/WEB-INF/actions/fixedasset/FixedAssetGeoLocation.groovy

Author: ashish
Date: Sat Jun  4 09:08:23 2016
New Revision: 1746794

URL: http://svn.apache.org/viewvc?rev=1746794&view=rev
Log:
Applied bug fix from trunk revision - 1746792.
Applied patch from jira issue - OFBIZ-7153 - Error on Fixed Asset Geo Location page.
=========================================
Step to regenerate:
1) Go to Find Fixed Asset page under Accounting component.
2) Select fixedAssetId=DEMO_FOOD_GROUP and navigate to the Fixed asset page.
3) Click on Geo Location.

Cause:
No such property: atestGeoPoint for class: FixedAssetGeoLocation
(Typo mistake)
=========================================
Thanks Ravi for the contribution.

Modified:
    ofbiz/branches/release14.12/applications/accounting/webapp/accounting/WEB-INF/actions/fixedasset/FixedAssetGeoLocation.groovy

Modified: ofbiz/branches/release14.12/applications/accounting/webapp/accounting/WEB-INF/actions/fixedasset/FixedAssetGeoLocation.groovy
URL: http://svn.apache.org/viewvc/ofbiz/branches/release14.12/applications/accounting/webapp/accounting/WEB-INF/actions/fixedasset/FixedAssetGeoLocation.groovy?rev=1746794&r1=1746793&r2=1746794&view=diff
==============================================================================
--- ofbiz/branches/release14.12/applications/accounting/webapp/accounting/WEB-INF/actions/fixedasset/FixedAssetGeoLocation.groovy (original)
+++ ofbiz/branches/release14.12/applications/accounting/webapp/accounting/WEB-INF/actions/fixedasset/FixedAssetGeoLocation.groovy Sat Jun  4 09:08:23 2016
@@ -38,7 +38,7 @@ if (fixedAsset) {
             context.geoChart = geoChart;
         }
         if (latestGeoPoint.elevationUomId) {
-            elevationUom = from('Uom').where('uomId', atestGeoPoint.elevationUomId).queryOne()
+            elevationUom = from('Uom').where('uomId', latestGeoPoint.elevationUomId).queryOne()
             context.elevationUomAbbr = elevationUom.abbreviation;
         }
     }