Skip to content

Enrollment is not activated in edX once you unenroll from a paid mode and then re-enroll #1797

@arslanashraf7

Description

@arslanashraf7

Steps to Reproduce

  • Enroll yourself in a paid mode of a course
  • Unenroll yourself through MITxOnline /dashboard
  • Re-enroll
  • You would see enrollment in the MITxOnline dashboard but the enrollment in edX would still be inactive.

Expected Behavior

  • Enrollment in edX should be activated again when a user re-enrolls in a course.

Actual Behavior

  • Enrollment in edX is inactive, User sees Enroll now button when they open the course through the MITxOnline dashboard

Possible Resolution:

We would probably need to add something like the below code change in https://github.com/mitodl/edx-api-client/blob/master/edx_api/enrollments/__init__.py#L161, so that enrollment is reactivated upon re-enrollment.

enrollment_data['is_active'] = True

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions