You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2017/07/30 08:36:35 UTC

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

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