From notifications-return-30460-archive-asf-public=cust-asf.ponee.io@ofbiz.apache.org Fri Feb 7 13:46:03 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 3678118060E for ; Fri, 7 Feb 2020 14:46:03 +0100 (CET) Received: (qmail 22604 invoked by uid 500); 7 Feb 2020 13:46:02 -0000 Mailing-List: contact notifications-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ofbiz.apache.org Delivered-To: mailing list notifications@ofbiz.apache.org Received: (qmail 22586 invoked by uid 99); 7 Feb 2020 13:46:02 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Feb 2020 13:46:02 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 05CF0E30C1 for ; Fri, 7 Feb 2020 13:46:02 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 63E9C78090A for ; Fri, 7 Feb 2020 13:46:00 +0000 (UTC) Date: Fri, 7 Feb 2020 13:46:00 +0000 (UTC) From: "ASF subversion and git services (Jira)" To: notifications@ofbiz.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (OFBIZ-10588) Incorrect PartyContactMechPurpose created while calling createUpdateBillingAddress service MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OFBIZ-10588?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D170= 32384#comment-17032384 ]=20 ASF subversion and git services commented on OFBIZ-10588: --------------------------------------------------------- Commit 9ce3118cc2f1d207886e58656cf181759cbb1de4 in ofbiz-framework's branch= refs/heads/trunk from Jacques Le Roux [ https://gitbox.apache.org/repos/asf?p=3Dofbiz-framework.git;h=3D9ce3118 ] Fixed: Unable to continue to Step 3 in One Page Checkout (OFBIZ-11318) The following error is returned when trying to continue to Step3 when check= ing out using One Page Checkout. Could not create new purpose, a purpose with that type already exists.: [GenericEntity:PartyContactWithPurpose][contactFromDate,2020-01-05 19:48:18= .29 (java.sql.Timestamp)][contactMechId,10020(java.lang.String)] [contactMechPurposeTypeId,SHIPPING_LOCATION(java.lang.String)] [partyId,admin(java.lang.String)][purposeFromDate,2020-01-05 19:48:18.332 (java.sql.Timestamp) It does not happen with DemoCustomer but at least with admin user It was caused by OFBIZ-10588. I checked for similar issues and found that, = in unlike in createUpdateBillingAddress, in createUpdateShippingAddress and createUpdateCreditCard partyId was used without a prior setting from parameters.partyId Thanks: James Young for proposing a solution. I rather fixed otherwise this= and another similar case in createUpdateCreditCard > Incorrect PartyContactMechPurpose created while calling createUpdateBilli= ngAddress service > -------------------------------------------------------------------------= ----------------- > > Key: OFBIZ-10588 > URL: https://issues.apache.org/jira/browse/OFBIZ-10588 > Project: OFBiz > Issue Type: Bug > Components: order > Affects Versions: Trunk, Release Branch 16.11, Release Branch 17.12 > Reporter: Suraj Khurana > Assignee: Suraj Khurana > Priority: Major > Fix For: 17.12.01, 16.11.06 > > Attachments: OFBIZ-10588.patch > > > createUpdateBillingAddress and=C2=A0createUpdateShippingAddress services = create incorrect PartyContactMechPurpose records with userLogin.partyId. > These services works well in case of when e-commerce logged-in user perfo= rm these operation. But in-correct data is created by these services if cal= led from admin or any other user. > Need to check relevant code and fix it. > I called createUpdateBillingAddress service from webtools and and didn't = get desired results. -- This message was sent by Atlassian Jira (v8.3.4#803005)