svn commit: r823407 - /ofbiz/branches/release09.04/applications/party/script/org/ofbiz/party/party/PartyServices.xml

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

svn commit: r823407 - /ofbiz/branches/release09.04/applications/party/script/org/ofbiz/party/party/PartyServices.xml

lektran
Author: lektran
Date: Fri Oct  9 04:44:19 2009
New Revision: 823407

URL: http://svn.apache.org/viewvc?rev=823407&view=rev
Log:
Applied fix from trunk r823406
Applied fix from Jeremy Wickersheimer OFBIZ-3011
getPartyNameForDate was comparing two Timestamps without specifying Timestamp as the type

Modified:
    ofbiz/branches/release09.04/applications/party/script/org/ofbiz/party/party/PartyServices.xml

Modified: ofbiz/branches/release09.04/applications/party/script/org/ofbiz/party/party/PartyServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release09.04/applications/party/script/org/ofbiz/party/party/PartyServices.xml?rev=823407&r1=823406&r2=823407&view=diff
==============================================================================
--- ofbiz/branches/release09.04/applications/party/script/org/ofbiz/party/party/PartyServices.xml (original)
+++ ofbiz/branches/release09.04/applications/party/script/org/ofbiz/party/party/PartyServices.xml Fri Oct  9 04:44:19 2009
@@ -102,7 +102,7 @@
         </if-empty>
         <!-- go through the list which is sorted by most recent first and find the oldest (last) one with the changeDate greater than the compareDate -->
         <iterate entry="partyNameHistory" list="partyNameHistoryList">
-            <if-compare-field field="partyNameHistory.changeDate" to-field="parameters.compareDate" operator="greater">
+            <if-compare-field field="partyNameHistory.changeDate" to-field="parameters.compareDate" operator="greater" type="Timestamp">
                 <set field="partyNameHistoryCurrent" from-field="partyNameHistory"/>
             </if-compare-field>
         </iterate>