[ofbiz-framework] branch trunk updated: Fixed: Service calls of "createPartyContactMech" now include the needed contactMechTypeId (OFBIZ-12175) (#292)

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

[ofbiz-framework] branch trunk updated: Fixed: Service calls of "createPartyContactMech" now include the needed contactMechTypeId (OFBIZ-12175) (#292)

jleroux@apache.org
This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new f062ff4  Fixed: Service calls of "createPartyContactMech" now include the needed contactMechTypeId (OFBIZ-12175) (#292)
f062ff4 is described below

commit f062ff461321c3d7869a3924d9fffd580842a7a3
Author: Jacques Le Roux <[hidden email]>
AuthorDate: Thu Apr 8 11:46:33 2021 +0200

    Fixed: Service calls of "createPartyContactMech" now include the needed contactMechTypeId (OFBIZ-12175) (#292)
   
    Fixes PartyServices.java lines too long
    Error Description                        Line
    La ligne excède 150 caractères (trouvé 178). 2621
    La ligne excède 150 caractères (trouvé 178). 2638
    La ligne excède 150 caractères (trouvé 191). 2655
---
 .../java/org/apache/ofbiz/party/party/PartyServices.java     | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/applications/party/src/main/java/org/apache/ofbiz/party/party/PartyServices.java b/applications/party/src/main/java/org/apache/ofbiz/party/party/PartyServices.java
index 460a3bd..8e44a20c 100644
--- a/applications/party/src/main/java/org/apache/ofbiz/party/party/PartyServices.java
+++ b/applications/party/src/main/java/org/apache/ofbiz/party/party/PartyServices.java
@@ -2618,8 +2618,8 @@ public class PartyServices {
                                 currentContactMechPurposeTypeId = "GENERAL_LOCATION";
                             }
                             Map<String, Object> serviceResult = dispatcher.runSync("createPartyContactMech", UtilMisc.toMap("partyId", newPartyId,
-                                    "contactMechId", newContactMechId, "contactMechTypeId", currentContactMechTypeId, "contactMechPurposeTypeId", currentContactMechPurposeTypeId,
-                                    "userLogin", userLogin));
+                                    "contactMechId", newContactMechId, "contactMechTypeId", currentContactMechTypeId,
+                                    "contactMechPurposeTypeId", currentContactMechPurposeTypeId, "userLogin", userLogin));
                             if (ServiceUtil.isError(serviceResult)) {
                                 return ServiceUtil.returnError(ServiceUtil.getErrorMessage(serviceResult));
                             }
@@ -2635,8 +2635,8 @@ public class PartyServices {
                                 currentContactMechPurposeTypeId = "PHONE_WORK";
                             }
                             Map<String, Object> resultMap = dispatcher.runSync("createPartyContactMech", UtilMisc.toMap("partyId", newPartyId,
-                                    "contactMechId", newContactMechId, "contactMechTypeId", currentContactMechTypeId, "contactMechPurposeTypeId", currentContactMechPurposeTypeId,
-                                    "userLogin", userLogin));
+                                    "contactMechId", newContactMechId, "contactMechTypeId", currentContactMechTypeId,
+                                    "contactMechPurposeTypeId", currentContactMechPurposeTypeId, "userLogin", userLogin));
                             if (ServiceUtil.isError(resultMap)) {
                                 return ServiceUtil.returnError(ServiceUtil.getErrorMessage(result));
                             }
@@ -2652,8 +2652,8 @@ public class PartyServices {
                                 currentContactMechPurposeTypeId = "PRIMARY_EMAIL";
                             }
                             Map<String, Object> resultMap = dispatcher.runSync("createPartyContactMech", UtilMisc.toMap("partyId", newPartyId,
-                                    "contactMechId", newContactMechId, "contactMechTypeId", currentContactMechTypeId, "contactMechPurposeTypeId", currentContactMechPurposeTypeId, "userLogin",
-                                    userLogin));
+                                    "contactMechId", newContactMechId, "contactMechTypeId", currentContactMechTypeId,
+                                    "contactMechPurposeTypeId", currentContactMechPurposeTypeId, "userLogin", userLogin));
                             if (ServiceUtil.isError(resultMap)) {
                                 return ServiceUtil.returnError(ServiceUtil.getErrorMessage(result));
                             }