ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (Jira)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-11318) Unable to continue to Step 3 in One Page Checkout
Date Fri, 07 Feb 2020 13:46:00 GMT

    [ https://issues.apache.org/jira/browse/OFBIZ-11318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17032380#comment-17032380
] 

ASF subversion and git services commented on OFBIZ-11318:
---------------------------------------------------------

Commit 77d6a5ff910fc112c69cf37bf92b32ad26e8b17d in ofbiz-framework's branch refs/heads/release18.12
from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=77d6a5f ]

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 checking
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


> Unable to continue to Step 3 in One Page Checkout 
> --------------------------------------------------
>
>                 Key: OFBIZ-11318
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11318
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ecommerce
>    Affects Versions: Trunk
>            Reporter: James Yong
>            Assignee: Jacques Le Roux
>            Priority: Blocker
>         Attachments: OFBIZ-11318.patch
>
>
> The following error is returned when trying to continue to Step3 when checking 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)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message