Author: jonesde
Date: Mon Sep 10 22:06:28 2007
New Revision: 574451
URL:
http://svn.apache.org/viewvc?rev=574451&view=revLog:
Added mode to error message... it's REALLY annoying to not know in/out for parameter validation errors
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=574451&r1=574450&r2=574451&view=diff==============================================================================
--- ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelService.java (original)
+++ ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelService.java Mon Sep 10 22:06:28 2007
@@ -509,7 +509,7 @@
String msg = model.getParam(key).getPrimaryFailMessage(locale);
if (msg == null) {
String errMsg = UtilProperties.getMessage(ServiceUtil.resource, "ModelService.following_required_parameter_missing", locale) ;
- msg = errMsg + " [" + model.name + "." + key + "]";
+ msg = errMsg + " [" + mode + "] [" + model.name + "." + key + "]";
}
missingMsgs.add(msg);
}