{"data":{"id":"ACSD-56635","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where the imported customer is duplicated with the same email address when import is used with account sharing set to Global.","categories":["Import/Export","Customer"],"components":["magento/module-customer-import-export","magento/module-customer-balance","magento/module-customer-finance"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-48/acsd-56635-imported-customers-are-duplicated-with-the-same-email-address","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-48/acsd-56635-imported-customers-are-duplicated-with-the-same-email-address.md","blobSha":"6f81d1422e100e39ea6df7d798e6812ccbc8f671","description":"Imported customers are duplicated with the same email address when account sharing is set to Global.","stepsToReproduce":"1. Under the Adobe Commerce (2.4-develop b2b) Admin, access Stores > Settings > Configuration > Customers > Customer Configuration > Account Sharing Options. 1. Set the Share Customer Accounts setting to Global. 1. Create multiple websites and stores: * ws1 > s11, s12 > sw111, sw122 * ws2 > s21, s22 > sw211, sw212 1. Create a new customer under the main website from admin with email address used as <adb@yormail.com>. 1. Under Admin, navigate to System > Import. 1. Select Customer Entity Type as Customers Main File. 1. Use the same email address as <adb@yormail.com> on a different website, for example, ws1. Refer to the sample CSV file customer.csv given below. 1. Complete the import to see the new user created under the ws1 website with the same email address. customer.csv content: email,_website,_store,confirmation,created_at,created_in,disable_auto_group_change,dob,firstname,gender,group_id,lastname,middlename,password_hash,prefix,rp_token,rp_token_created_at,store_id,suffix,taxvat,updated_at,website_id,password adb@yopmail.com,ws1,sv111,,09/01/24 12:49,Default Store View,0,,newjon,,1,newDoe,,d708be3fe0fe0120840e8b13c8faae97424252c6374227ff59c05814f1aecd79:mgLqkqgTwLPLlCljzvF8hp67fNOOvOZb:1,,07e71459c137f4da15292134ff459cba,30/10/15 12:49,1,,,09/01/24 12:49,1,","introducedInQpt":"1.1.48","createdFor":["2.4.6-p3"],"documentedRange":"2.4.6 - 2.4.6-p3","scheduledFixRelease":"2.4.7"},"files":[{"package":"magento/magento2-base","constraint":">=2.4.6 <2.4.7","path":"patches/os/ACSD-56635_2.4.6-p3.patch","blobSha":"c6aabc534632c3955f9e62e7ae511a731827c1ec","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/ACSD-56635_2.4.6-p3.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-customer-import-export/Model/Import/AbstractCustomer.php","change":"modified","package":"magento/module-customer-import-export"},{"path":"vendor/magento/module-customer-import-export/Model/Import/Address.php","change":"modified","package":"magento/module-customer-import-export"},{"path":"vendor/magento/module-customer-import-export/Model/ResourceModel/Import/Customer/Storage.php","change":"modified","package":"magento/module-customer-import-export"}],"packages":["magento/module-customer-import-export"],"hasTests":false,"applicableVersions":{"magento-community":["2.4.6-p15","2.4.6-p14","2.4.6-p13","2.4.6-p12","2.4.6-p11","2.4.6-p10","2.4.6-p9","2.4.6-p8","2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6"],"magento-commerce":["2.4.6-p15","2.4.6-p14","2.4.6-p13","2.4.6-p12","2.4.6-p11","2.4.6-p10","2.4.6-p9","2.4.6-p8","2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false},{"package":"magento/magento2-ee-base","constraint":">=2.4.6 <2.4.7","path":"patches/commerce/ACSD-56635_2.4.6-p3.patch","blobSha":"6f80353cf84e3b68874c6cab79ae963af11b0fea","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/commerce/ACSD-56635_2.4.6-p3.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-customer-balance/Model/Adminhtml/Balance/History.php","change":"modified","package":"magento/module-customer-balance"},{"path":"vendor/magento/module-customer-balance/etc/webapi_rest/di.xml","change":"modified","package":"magento/module-customer-balance"},{"path":"vendor/magento/module-customer-balance/etc/webapi_soap/di.xml","change":"modified","package":"magento/module-customer-balance"},{"path":"vendor/magento/module-customer-finance/Model/Import/Eav/Customer/Finance.php","change":"modified","package":"magento/module-customer-finance"}],"packages":["magento/module-customer-balance","magento/module-customer-finance"],"hasTests":false,"applicableVersions":{"magento-community":[],"magento-commerce":["2.4.6-p15","2.4.6-p14","2.4.6-p13","2.4.6-p12","2.4.6-p11","2.4.6-p10","2.4.6-p9","2.4.6-p8","2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":["2.4.6-p15","2.4.6-p14","2.4.6-p13","2.4.6-p12","2.4.6-p11","2.4.6-p10","2.4.6-p9","2.4.6-p8","2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6"],"magento-commerce":["2.4.6-p15","2.4.6-p14","2.4.6-p13","2.4.6-p12","2.4.6-p11","2.4.6-p10","2.4.6-p9","2.4.6-p8","2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6"],"mage-os":[]},"conditions":{"and":[{"type":"config","path":"customer/account_share/scope","match":0}]},"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch ACSD-56635 details"}