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

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

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

ashish-18
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;
         }
     }