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 2016/07/15 10:07:38 UTC

svn commit: r1752810 - /ofbiz/trunk/applications/commonext/minilang/setup/SetupEvents.xml

Author: jleroux
Date: Fri Jul 15 10:07:38 2016
New Revision: 1752810

URL: http://svn.apache.org/viewvc?rev=1752810&view=rev
Log:
Fixes "Bug in OfbizSetup Create Customer Step" - https://issues.apache.org/jira/browse/OFBIZ-7797 using a proposition from Derek Lew

jleroux's disclaimer: I did not test but the change is quite straigtforward

Modified:
    ofbiz/trunk/applications/commonext/minilang/setup/SetupEvents.xml

Modified: ofbiz/trunk/applications/commonext/minilang/setup/SetupEvents.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/commonext/minilang/setup/SetupEvents.xml?rev=1752810&r1=1752809&r2=1752810&view=diff
==============================================================================
--- ofbiz/trunk/applications/commonext/minilang/setup/SetupEvents.xml (original)
+++ ofbiz/trunk/applications/commonext/minilang/setup/SetupEvents.xml Fri Jul 15 10:07:38 2016
@@ -247,8 +247,8 @@
             <field field="nowTimestamp" type="java.sql.Timestamp"/>
         </call-class-method>
         <set field="curYearString" value="${str:toString(date:year(fromDateStamp, util:defaultTimeZone(), util:defaultLocale()))}"/>
-        <set field="customTimePeriodCtx.fromDate" from-field="fromDateStamp" type="Date"/>
-        <set field="customTimePeriodCtx.thruDate" value="${groovy:org.ofbiz.base.util.UtilDateTime.toSqlDate(endMonth ,endDate , curYearString)}" type="Date"/>
+        <set field="customTimePeriodCtx.fromDate" from-field="fromDateStamp" type="Timestamp"/>
+        <set field="customTimePeriodCtx.thruDate" value="${groovy:org.ofbiz.base.util.UtilDateTime.toSqlDate(endMonth ,endDate , curYearString)}" type="Timestamp"/>
         <set field="customTimePeriodCtx.isClosed" value="N"/>
         <set field="customTimePeriodCtx.organizationPartyId" from-field="tempMap.partyId"/>
         <set field="customTimePeriodCtx.periodName" from-field="curYearString"/>