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 2014/11/15 13:27:33 UTC

svn commit: r1639870 - in /ofbiz/branches/release12.04: ./ applications/party/src/org/ofbiz/party/contact/ContactMechServices.java

Author: jleroux
Date: Sat Nov 15 12:27:32 2014
New Revision: 1639870

URL: http://svn.apache.org/r1639870
Log:
"Applied fix from trunk for revision: 1636493" 
------------------------------------------------------------------------
r1636493 | hansbak | 2014-11-04 03:39:56 +0100 (mar. 04 nov. 2014) | 1 ligne

use of wrong field name: https://issues.apache.org/jira/browse/OFBIZ-5846
------------------------------------------------------------------------


Modified:
    ofbiz/branches/release12.04/   (props changed)
    ofbiz/branches/release12.04/applications/party/src/org/ofbiz/party/contact/ContactMechServices.java

Propchange: ofbiz/branches/release12.04/
------------------------------------------------------------------------------
  Merged /ofbiz/trunk:r1636493

Modified: ofbiz/branches/release12.04/applications/party/src/org/ofbiz/party/contact/ContactMechServices.java
URL: http://svn.apache.org/viewvc/ofbiz/branches/release12.04/applications/party/src/org/ofbiz/party/contact/ContactMechServices.java?rev=1639870&r1=1639869&r2=1639870&view=diff
==============================================================================
--- ofbiz/branches/release12.04/applications/party/src/org/ofbiz/party/contact/ContactMechServices.java (original)
+++ ofbiz/branches/release12.04/applications/party/src/org/ofbiz/party/contact/ContactMechServices.java Sat Nov 15 12:27:32 2014
@@ -880,7 +880,7 @@ public class ContactMechServices {
         if (tempVal != null) {
             Map<String, Object> deletePcmCtx = UtilMisc.toMap("contactMechId", context.get("contactMechId"));
             deletePcmCtx.put("contactMechPurposeTypeId", context.get("contactMechPurposeTypeId"));
-            deletePcmCtx.put("fromDate", tempVal.get("fromDate"));
+            deletePcmCtx.put("fromDate", tempVal.get("purposeFromDate"));
             deletePcmCtx.put("userLogin", context.get("userLogin"));
             deletePcmCtx.put("partyId", partyId);
             try {