-
Notifications
You must be signed in to change notification settings - Fork 2
Allow deferral to a course run with past Upgrade Deadline #2570
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@arslanashraf7 Can the open edX enrollment API allow for a user to be in verified mode even if the upgrade deadline is in the past? |
@pdpinch The edX code supports the enrollment after the upgrade deadline but with a force_enrollment flag in the API. The following utility method also has this flag here. I also think we were using the I looked at the MITx Online code briefly and found #1225 that explicitly added the option to enroll even after the deadline. If the retry enrollments are breaking, we might need to check at that code and see if we are passing the |
@arslanashraf7 It looks like we are passing the force_enrollment flag
I have modified this enrollment manually to verified to fix this error. |
I looked more at why Here are the enrollments for this user: Now, when the error message in the above comment suggests that we were trying to move the user enrollment to What happens in this case is that edX runs update_enrollment instead of add_enrollment, which as of now doesn't seem to support |
Recently customer service has processing deferral to a course run for which upgrade deadline has passed.
This caused edx api call to fail, and a caused a recurring Sentry errors that keep trying to enroll the user in a verified mode.
Needs Discussion
The text was updated successfully, but these errors were encountered: