Login  Register

svn commit: r926010 - /ofbiz/trunk/applications/party/src/org/ofbiz/party/contact/ContactMechServices.java

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

svn commit: r926010 - /ofbiz/trunk/applications/party/src/org/ofbiz/party/contact/ContactMechServices.java

ashish-18
1482 posts
Author: ashish
Date: Mon Mar 22 09:35:08 2010
New Revision: 926010

URL: http://svn.apache.org/viewvc?rev=926010&view=rev
Log:
Its better to pass partyId in context so that custom service could use it without any issue.
Patch from Arun(Thanks!).

Modified:
    ofbiz/trunk/applications/party/src/org/ofbiz/party/contact/ContactMechServices.java

Modified: ofbiz/trunk/applications/party/src/org/ofbiz/party/contact/ContactMechServices.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/src/org/ofbiz/party/contact/ContactMechServices.java?rev=926010&r1=926009&r2=926010&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/src/org/ofbiz/party/contact/ContactMechServices.java (original)
+++ ofbiz/trunk/applications/party/src/org/ofbiz/party/contact/ContactMechServices.java Mon Mar 22 09:35:08 2010
@@ -890,6 +890,7 @@ public class ContactMechServices {
             deletePcmCtx.put("contactMechPurposeTypeId", context.get("contactMechPurposeTypeId"));
             deletePcmCtx.put("fromDate", tempVal.get("fromDate"));
             deletePcmCtx.put("userLogin", context.get("userLogin"));
+            deletePcmCtx.put("partyId", partyId);
             try {
                 Map<String, Object> deletePcmResult = ctx.getDispatcher().runSync("deletePartyContactMechPurpose", deletePcmCtx);
                 if (ServiceUtil.isError(deletePcmResult)) {