You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2008/10/19 19:32:49 UTC

svn commit: r706046 - in /ofbiz/trunk/applications/product: webapp/catalog/WEB-INF/actions/config/EditProductConfigItemContentContent.groovy widget/catalog/ConfigScreens.xml

Author: jleroux
Date: Sun Oct 19 10:32:48 2008
New Revision: 706046

URL: http://svn.apache.org/viewvc?rev=706046&view=rev
Log:
Fix a Postgres+TimeStamp issue found while working on https://issues.apache.org/jira/browse/OFBIZ-2007

Modified:
    ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/config/EditProductConfigItemContentContent.groovy
    ofbiz/trunk/applications/product/widget/catalog/ConfigScreens.xml

Modified: ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/config/EditProductConfigItemContentContent.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/config/EditProductConfigItemContentContent.groovy?rev=706046&r1=706045&r2=706046&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/config/EditProductConfigItemContentContent.groovy (original)
+++ ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/config/EditProductConfigItemContentContent.groovy Sun Oct 19 10:32:48 2008
@@ -25,7 +25,6 @@
 contentId = request.getParameter("contentId") ?: null;
 
 confItemContentTypeId = request.getParameter("confItemContentTypeId");
-fromDate = request.getParameter("fromDate") ?: null;
 
 description = request.getParameter("description") ?: null;
 

Modified: ofbiz/trunk/applications/product/widget/catalog/ConfigScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/widget/catalog/ConfigScreens.xml?rev=706046&r1=706045&r2=706046&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/widget/catalog/ConfigScreens.xml (original)
+++ ofbiz/trunk/applications/product/widget/catalog/ConfigScreens.xml Sun Oct 19 10:32:48 2008
@@ -222,6 +222,8 @@
                 
                 <set field="configItemId" from-field="parameters.configItemId"/>
                 <entity-one entity-name="ProductConfigItem" value-name="configItem" auto-field-map="true"/>
+
+                <set field="fromDate" from-field="requetParameters.fromDate" type="Timestamp"/>
                 
                 <script location="component://product/webapp/catalog/WEB-INF/actions/config/EditProductConfigItemContentContent.groovy"/>
             </actions>