Author: nmalin Date: Fri Aug 25 10:04:44 2017 New Revision: 1806151 URL: http://svn.apache.org/viewvc?rev=1806151&view=rev Log: Implemented: Continue the common-theme upload (OFBIZ-9138 Create a common theme) Five step #10 when you missed a definition on your theme, improve the error message to understand what template failed Now the common-theme would be functional
Modified: ofbiz/ofbiz-framework/trunk/framework/widget/src/main/java/org/apache/ofbiz/widget/model/HtmlWidget.java Modified: ofbiz/ofbiz-framework/trunk/framework/widget/src/main/java/org/apache/ofbiz/widget/model/HtmlWidget.java URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/widget/src/main/java/org/apache/ofbiz/widget/model/HtmlWidget.java?rev=1806151&r1=1806150&r2=1806151&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/framework/widget/src/main/java/org/apache/ofbiz/widget/model/HtmlWidget.java (original) +++ ofbiz/ofbiz-framework/trunk/framework/widget/src/main/java/org/apache/ofbiz/widget/model/HtmlWidget.java Fri Aug 25 10:04:44 2017 @@ -146,7 +146,7 @@ public class HtmlWidget extends ModelScr //Debug.logInfo("Rendering template at location [" + location + "] with context: \n" + context, module); if (UtilValidate.isEmpty(location)) { - throw new IllegalArgumentException("Template location is empty"); + throw new IllegalArgumentException("Template location is empty with search string location " + locationExdr.getOriginal()); } if (location.endsWith(".ftl")) {