Author: jonesde
Date: Mon Apr 16 19:57:58 2007
New Revision: 529473
URL:
http://svn.apache.org/viewvc?view=rev&rev=529473Log:
Fixed bug in GenericEntity.setString based on patch from Michael Imhof; not a commonly used piece of code, but good to fix anyway; Jira #OFBIZ-894
Modified:
ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericEntity.java
Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericEntity.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericEntity.java?view=diff&rev=529473&r1=529472&r2=529473==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericEntity.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericEntity.java Mon Apr 16 19:57:58 2007
@@ -494,7 +494,7 @@
break;
case 14: // java.util.Date
- set(name, UtilDateTime.toDate(fieldType));
+ set(name, UtilDateTime.toDate(value));
break;
case 15: // java.util.Collection