You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by as...@apache.org on 2014/11/15 12:36:09 UTC

svn commit: r1639857 - /ofbiz/branches/release13.07/applications/party/src/org/ofbiz/party/contact/ContactMechServices.java

Author: ashish
Date: Sat Nov 15 11:36:08 2014
New Revision: 1639857

URL: http://svn.apache.org/r1639857
Log:
Applied bug fix from trunk r1636493
use of wrong field name: https://issues.apache.org/jira/browse/OFBIZ-5846
This commit also fixes issue - OFBIZ-5806

Modified:
    ofbiz/branches/release13.07/applications/party/src/org/ofbiz/party/contact/ContactMechServices.java

Modified: ofbiz/branches/release13.07/applications/party/src/org/ofbiz/party/contact/ContactMechServices.java
URL: http://svn.apache.org/viewvc/ofbiz/branches/release13.07/applications/party/src/org/ofbiz/party/contact/ContactMechServices.java?rev=1639857&r1=1639856&r2=1639857&view=diff
==============================================================================
--- ofbiz/branches/release13.07/applications/party/src/org/ofbiz/party/contact/ContactMechServices.java (original)
+++ ofbiz/branches/release13.07/applications/party/src/org/ofbiz/party/contact/ContactMechServices.java Sat Nov 15 11:36:08 2014
@@ -887,7 +887,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 {