magento / magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.
http://www.magento.com
Open Software License 3.0
11.56k stars 9.32k forks source link

An email “Welcome to the main website” is sent to inactive customers #33255

Closed ZhovnirMaria closed 4 months ago

ZhovnirMaria commented 3 years ago

Preconditions (*)

Magento version 2.4.2

Steps to reproduce (*)

  1. On the Admin sidebar, go to Customers > All Customers.
  2. Add new customer, click Add New Customer
  3. Fill in all required fields and set Customer Active to NO
  4. When complete, click Save

Expected result (*)

The "Welcome to the main website" email is not sent to inactive customers.

Actual result (*)

An email “Welcome to the main website” is sent to inactive customers.

Please find more details about the issue below: https://github.com/magento/magento2/issues/33255#issuecomment-864933043

Screenshot 2021-06-16 at 11 05 50 Screenshot 2021-06-16 at 11 11 19 Screenshot 2021-06-16 at 11 11 47
m2-assistant[bot] commented 3 years ago

Hi @ZhovnirMaria. Thank you for your report. To help us process this issue please make sure that you provided the following information:

Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:

@magento give me 2.4-develop instance - upcoming 2.4.x release

For more details, please, review the Magento Contributor Assistant documentation.

Please, add a comment to assign the issue: @magento I am working on this


:clock10: You can find the schedule on the Magento Community Calendar page.

:telephone_receiver: The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, please join the Community Contributions Triage session to discuss the appropriate ticket.

:movie_camera: You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel

:pencil2: Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel

m2-assistant[bot] commented 3 years ago

Hi @engcom-November. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:

engcom-November commented 3 years ago

Verified the issue on latest Magento version 2.4.2 and the issue is reproducible. Preconditions: B2B Features - enabled Setup Email configuration Steps to reproduce:

  1. Navigate to Customers -> All Customers -> Add new Customer
  2. Create Inactive customer Issue: Welcome Email is triggered to customer email with password link and user is able to create password from the link. Expected behavior: Inactive customers should not be able to login or reset password. Hence email should not be triggered with password reset link. Screenshot 2021-08-25 at 10 06 09 PM Screenshot 2021-08-25 at 10 06 37 PM Screenshot 2021-08-25 at 10 06 52 PM
SilinMykola commented 3 years ago

@magento I am working on this

magento-engcom-team commented 3 years ago

:white_check_mark: Confirmed by @sdzhepa Thank you for verifying the issue. Based on the provided information internal tickets MC-42768 were created

Issue Available: @sdzhepa, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.

srivats-ey commented 3 years ago

@magento assign this to me

engcom-Bravo commented 4 months ago

Hi @ZhovnirMaria,

Thanks for your reporting and collaboration.

We have verified the issue in Latest 2.4-develop instance with EE edition and the issue is no more reproducible.Kindly refer the screenshots.

Screenshot 2024-06-20 at 11 28 52 Screenshot 2024-06-20 at 11 28 27

We are not getting any Welcome emails for inactive customers.

Hence we are closing this issue.

Thanks