Already Saved Shipping Profile considered new

Created on 28 May 2024, about 1 month ago

Problem/Motivation

I have encountered a duplicate profile entry issue after upgrading Drupal 9.5 to 10.25 and commerce shipping to version 2.2.2. While investigating this issue in the commerce_shipping module, I found an issue I believe. When I logged in and there was already saved shipping profile but
$shipping_profile->isNew() in commerce_shipping/src/Plugin/Commerce/CheckoutPane/ShippingInformation.php --> buildPaneForm
is giving true. I believe it's causing a duplicate profile entry issue https://www.drupal.org/project/commerce_shipping/issues/3449522 🐛 Duplicate Profile Entry When Order Trying to Save Shipments Active

🐛 Bug report
Status

Closed: duplicate

Version

2.0

Component

Code

Created by

🇳🇵Nepal lalustine

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024