Skip to content

Conversation

@rayzhou-bit
Copy link
Contributor

@rayzhou-bit rayzhou-bit commented Jul 25, 2023

Description

When course authors perform batch enrollment via the instructor dashboard, they are given the message that enrollment email has successfully went out when that isn't the case. When an account has not had their email verified, batch enrollment cannot be performed. This is documented in the following places:

This PR will change the message from Successfully sent enrollment emails to the following users. They will be allowed to enroll once they register: to Email cannot be sent to the following users via batch enrollment. They will be allowed to enroll once they register:.


For reference, here were the messages we sent out when 'Notify users by email' are checked:
If user is enrolled:
Successfully enrolled and sent email to the following users:

If user is not enrolled and 'Auto enroll' is checked:
Successfully sent enrollment emails to the following users. They will be enrolled once they register: (will be changed by this PR)

If user is not enrolled and 'Auto enroll' is not checked, but allowed is true:
Successfully sent enrollment emails to the following users. They will be allowed to enroll once they register: (will be changed by this PR)

Testing instructions

In the instructor dashboard, enter a list of accounts with some emails that have not been verified. You should see the new message.

Other information

Ticket: https://2u-internal.atlassian.net/browse/TNL-10820

Copy link

@cablaa77 cablaa77 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the message text looks good to me

Copy link
Contributor

@connorhaugh connorhaugh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rayzhou-bit rayzhou-bit merged commit 370ea80 into master Jul 26, 2023
@rayzhou-bit rayzhou-bit deleted the feat--upd-batch-enrollment-email-msg branch July 26, 2023 16:35
@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production.

@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production.

@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

1 similar comment
@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

@fghaas
Copy link
Contributor

fghaas commented Apr 2, 2024

We just came across this after upgrading our platform to Quince. Can I suggest that this patch be reverted? The error message contradicts what is actually happening.

When an instructor (or the bulk enrollment API) adds a learner email address to a course that does not belong to a registered user, then that learner receives an email inviting them to register on the platform, and once they complete their registration, they are automatically enrolled in the course they have been invited to. This behavior has not recently changed, as far as I am aware.

"Email cannot be sent to the following users via batch enrollment" clearly says that those users did not receive an email message, but that is not true: they do. It is not an enrollment message, strictly speaking, but an invitation to register, but an email does go out and thus "email cannot be sent" is not the right message to display here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants