svn commit: r429059 - /incubator/ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelServiceReader.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r429059 - /incubator/ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelServiceReader.java

jonesde
Author: jonesde
Date: Sat Aug  5 14:34:14 2006
New Revision: 429059

URL: http://svn.apache.org/viewvc?rev=429059&view=rev
Log:
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");