Author: jleroux
Date: Mon Nov 23 22:02:49 2009
New Revision: 883517
URL:
http://svn.apache.org/viewvc?rev=883517&view=revLog:
Fix r883508
Modified:
ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java
Modified: ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java?rev=883517&r1=883516&r2=883517&view=diff==============================================================================
--- ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java (original)
+++ ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/seleniumxml/RemoteRequest.java Mon Nov 23 22:02:49 2009
@@ -151,7 +151,7 @@
} else if (nm.equals("param-out")) {
name = elem.getAttributeValue("result-name");
fieldName = elem.getAttributeValue("field-name");
- if (UtilValidate.isEmpty(fieldName)) {
+ if (fieldName == null || fieldName.length() == 0) {
fieldName = name;
}
this.outMap.put(name, fieldName);