You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jo...@apache.org on 2007/04/17 04:58:04 UTC

svn commit: r529473 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericEntity.java

Author: jonesde
Date: Mon Apr 16 19:57:58 2007
New Revision: 529473

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