svn commit: r1803406 - /ofbiz/ofbiz-framework/trunk/applications/accounting/groovyScripts/rate/RateServices.groovy

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

svn commit: r1803406 - /ofbiz/ofbiz-framework/trunk/applications/accounting/groovyScripts/rate/RateServices.groovy

jleroux@apache.org
Author: jleroux
Date: Sun Jul 30 08:36:35 2017
New Revision: 1803406

URL: http://svn.apache.org/viewvc?rev=1803406&view=rev
Log:
Fixes a test issue introduced with r1802668

See https://ci.apache.org/builders/ofbiz-trunk-framework-plugins?numbuilds=30

Modified:
    ofbiz/ofbiz-framework/trunk/applications/accounting/groovyScripts/rate/RateServices.groovy

Modified: ofbiz/ofbiz-framework/trunk/applications/accounting/groovyScripts/rate/RateServices.groovy
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/accounting/groovyScripts/rate/RateServices.groovy?rev=1803406&r1=1803405&r2=1803406&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/accounting/groovyScripts/rate/RateServices.groovy (original)
+++ ofbiz/ofbiz-framework/trunk/applications/accounting/groovyScripts/rate/RateServices.groovy Sun Jul 30 08:36:35 2017
@@ -180,7 +180,7 @@ def getRateAmount() {
 
     if (!ratesList) {
         rateType = from('RateAmount').where(parameters).queryOne()
-        logError('A valid rate amount could not be found for rateType: ' + rateType.description)
+        logError('A valid rate amount could not be found for rateType: ' + rateType?.description)
     }
 
     // We narrowed as much as we could the result, now returning the first record of the list