Author: deepak
Date: Sun Jun 12 07:17:06 2016
New Revision: 1747959
URL:
http://svn.apache.org/viewvc?rev=1747959&view=revLog:
(OFBIZ-7213) Applied patch from jira issue
===================================
Override allow-html attribute do not work in service implementing any interface
===================================
Thanks Nameet Jain for your contribution.
Modified:
ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelService.java
Modified: ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelService.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelService.java?rev=1747959&r1=1747958&r2=1747959&view=diff==============================================================================
--- ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelService.java (original)
+++ ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelService.java Sun Jun 12 07:17:06 2016
@@ -1183,6 +1183,9 @@ public class ModelService extends Abstra
if (overrideParam.overrideOptional) {
existingParam.optional = overrideParam.optional;
}
+ if (UtilValidate.isNotEmpty(overrideParam.allowHtml)) {
+ existingParam.allowHtml = overrideParam.allowHtml;
+ }
addParam(existingParam);
} else {
Debug.logWarning("Override param found but no parameter existing; ignoring: " + overrideParam.name, module);