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