Author: jonesde
Date: Sat Aug 5 14:34:14 2006
New Revision: 429059
URL:
http://svn.apache.org/viewvc?rev=429059&view=revLog:
Fixed bug reported by Al Byers where this was using the wrong attribute name, ie fail-message instead of just message; Apache Jira #OFBIZ-137
Modified:
incubator/ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelServiceReader.java
Modified: incubator/ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelServiceReader.java
URL:
http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelServiceReader.java?rev=429059&r1=429058&r2=429059&view=diff==============================================================================
--- incubator/ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelServiceReader.java (original)
+++ incubator/ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelServiceReader.java Sat Aug 5 14:34:14 2006
@@ -666,7 +666,7 @@
Element fail = UtilXml.firstChildElement(validate, "fail-message");
if (fail != null) {
- String message = fail.getAttribute("fail-message");
+ String message = fail.getAttribute("message");
param.addValidator(className, methodName, message);
} else {
fail = UtilXml.firstChildElement(validate, "fail-property");