svn commit: r781680 - /ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ProjectServices.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r781680 - /ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ProjectServices.xml

hansbak-2
Author: hansbak
Date: Thu Jun  4 08:30:23 2009
New Revision: 781680

URL: http://svn.apache.org/viewvc?rev=781680&view=rev
Log:
replace now-date with now-timestamp causing error messages in the log

Modified:
    ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ProjectServices.xml

Modified: ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ProjectServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ProjectServices.xml?rev=781680&r1=781679&r2=781680&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ProjectServices.xml (original)
+++ ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ProjectServices.xml Thu Jun  4 08:30:23 2009
@@ -143,7 +143,7 @@
                 <set field="workEffortPartyAssignment.delegateReasonEnumId" from-field="parameters.delegateReasonEnumId"/>
                 <set field="workEffortPartyAssignment.comments" from-field="parameters.comments"/>
                 <set field="workEffortPartyAssignment.assignedByUserLoginId" from-field="userLogin.userLoginId"/>
-                <now-date-to-env field="workEffortPartyAssignment.thruDate"/>
+                <now-timestamp field="workEffortPartyAssignment.thruDate"/>
                 <store-value value-field="workEffortPartyAssignment"/>
                 <!-- create a new one -->
                 <make-value value-field="newAssign" entity-name="WorkEffortPartyAssignment"/>
@@ -151,7 +151,7 @@
                 <set field="newAssign.partyId" from-field="parameters.newPartyId"/>
                 <set field="newAssign.roleTypeId" from-field="parameters.newRoleTypeId"/>
                 <set field="newAssign.assignedByUserLoginId" from-field="userLogin.userLoginId"/>
-                <now-date-to-env field="newAssign.fromDate"/>
+                <now-timestamp field="newAssign.fromDate"/>
                 <set field="newAssign.statusId" value="PAS_ASSIGNED"/>
                 <create-value value-field="newAssign"/>
             </then>
@@ -166,7 +166,7 @@
                     </entity-one>
                     <if-compare field="parameters.statusId" value="PAS_ENDED" operator="equals">
                         <!-- special case to indicate end of assignment -->
-                        <now-date-to-env field="assignment.thruDate"/>
+                        <now-timestamp field="assignment.thruDate"/>
                         <clear-field field="parameters.statusId"/>
                     </if-compare>
                     <set-nonpk-fields value-field="assignment" map="parameters"/>
@@ -258,7 +258,7 @@
             <set field="startDate" from-field="task.actualStartDate"/>
             <set field="taskId" from-field="task.workEffortId"/>
             <else>
-                <now-date-to-env field="generalStartDate"/>
+                <now-timestamp field="generalStartDate"/>
             </else>
         </if-not-empty>
         <while>
@@ -1199,7 +1199,7 @@
                     <set field="newAssign.partyId" from-field="assign.partyId"/>
                     <set field="newAssign.roleTypeId" from-field="assign.roleTypeId"/>
                     <set field="newAssign.assignedByUserLoginId" value="system"/>
-                    <now-date-to-env field="newAssign.fromDate"/>
+                    <now-timestamp field="newAssign.fromDate"/>
                     <set field="newAssign.statusId" value="PAS_ASSIGNED"/>
                     <create-value value-field="newAssign"/>
                 </iterate>