Improved: In 'ValidateMethod.java', when we don't pass any className from xml files. default value 'org.apache.ofbiz.base.util.UtilValidate' should be set for className. (OFBIZ-9969)
Thanks Sonal Patwari and Suraj Khurana for your contribution git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1819126 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
+1
-1
@@ -41,7 +41,7 @@ public class ValidateMethod extends SimpleMapOperation {
|
||||
public ValidateMethod(Element element, SimpleMapProcess simpleMapProcess) {
|
||||
super(element, simpleMapProcess);
|
||||
this.methodName = element.getAttribute("method");
|
||||
this.className = element.getAttribute("class");
|
||||
this.className = MiniLangValidate.checkAttribute(element.getAttribute("class"), "org.apache.ofbiz.base.util.UtilValidate");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user