ofbiz-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ash...@apache.org
Subject svn commit: r1639857 - /ofbiz/branches/release13.07/applications/party/src/org/ofbiz/party/contact/ContactMechServices.java
Date Sat, 15 Nov 2014 11:36:09 GMT
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 {



Mime
View raw message