Author: jacopoc
Date: Fri May 18 10:20:44 2007
New Revision: 539527
URL:
http://svn.apache.org/viewvc?view=rev&rev=539527Log:
Applied patch from Scott Gray OFBIZ-593 to allow to set to null fields from the generic entity maintenance screens.
Modified:
ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/GenericWebEvent.java
Modified: ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/GenericWebEvent.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/GenericWebEvent.java?view=diff&rev=539527&r1=539526&r2=539527==============================================================================
--- ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/GenericWebEvent.java (original)
+++ ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/GenericWebEvent.java Fri May 18 10:20:44 2007
@@ -189,6 +189,8 @@
"genericWebEvent.conversion_failed", messageMap, locale) + type.getJavaType() + ".";
Debug.logWarning("[updateGeneric] " + field.getColName() + " conversion failed: \"" + fval + "\" is not a valid " + type.getJavaType() + "; entityName: " + entityName, module);
}
+ } else {
+ findByEntity.set(field.getName(), null);
}
}