Author: ashish
Date: Sat Jun 4 09:06:36 2016
New Revision: 1746792
URL:
http://svn.apache.org/viewvc?rev=1746792&view=revLog:
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/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/fixedasset/FixedAssetGeoLocation.groovy
Modified: ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/fixedasset/FixedAssetGeoLocation.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/fixedasset/FixedAssetGeoLocation.groovy?rev=1746792&r1=1746791&r2=1746792&view=diff==============================================================================
--- ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/fixedasset/FixedAssetGeoLocation.groovy (original)
+++ ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/fixedasset/FixedAssetGeoLocation.groovy Sat Jun 4 09:06:36 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;
}
}