Skip to content
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

transfer_enrollment command is not properly transferring enrollment #1798

Open
arslanashraf7 opened this issue Aug 4, 2023 · 1 comment
Open
Labels
bug Something isn't working product:mitx-online

Comments

@arslanashraf7
Copy link
Contributor

Steps to Reproduce

  • Register two users
  • Enroll one user in a course
  • Now, try to transfer this enrollment to the other user e.g.
./manage.py transfer_enrollment --from-user=<username or email>--to-user=<username or email> --run=<courseware_id>

Expected Behavior

  • The enrollment gets transferred to the other user and doesn't show on the dashboard of --from-user

Actual Behavior

  • The command succeeds but?
  • The enrollment only gets transferred on edX, This means that the new user sees a course enrollment on edX dashboard but not on MITxOnline dashboard.
  • Because this new enrollment doesn't get created in MITxOnline. It's only created on edX. Also, The previous user also sees the enrollment on both MITxOnline and edX. However, the enrollment status for the previous user is successfully set to transferred for the previous user.

Note
I noticed this issue while testing #1761, But It's worth putting some time on testing this command independently.

@arslanashraf7 arslanashraf7 added bug Something isn't working product:mitx-online labels Aug 4, 2023
@arslanashraf7 arslanashraf7 changed the title teansfer_enrollment command is not properly transferring enrollment transfer_enrollment command is not properly transferring enrollment Aug 4, 2023
@pdpinch
Copy link
Member

pdpinch commented Aug 4, 2023

As far as I know, we haven't had need for this management command yet. It's more revelant in situations where we are doing a lot of B2B bulk purchases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working product:mitx-online
Projects
None yet
Development

No branches or pull requests

2 participants