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

fix: set enrollment url course id to advertised course run key #1018

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

brobro10000
Copy link
Member

@brobro10000 brobro10000 commented Dec 19, 2024

Updates how we set the enrollment url if the learner portal is not enabled. This is to fix an error that is manifesting in the LMS where the enrollment url is parsed for a course_id, but a top level course is retrieved. This breaks the expectation of what the OpaqueKeys CourseKey is expecting which includes a course run.

The changes included ensures a course run is always passed within the enrollment url.

This is a root cause solution to this PR

Post-review

  • Squash commits into discrete sets of changes
  • Ensure that once the changes have been deployed to stage, prod is manually deployed

@brobro10000 brobro10000 force-pushed the hu/ent-9865 branch 2 times, most recently from e894f84 to d0294ec Compare January 9, 2025 19:22
Copy link
Member

@adamstankiewicz adamstankiewicz left a comment

Choose a reason for hiding this comment

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

LGTM.

@brobro10000 brobro10000 merged commit a387d9c into master Jan 13, 2025
5 of 6 checks passed
@brobro10000 brobro10000 deleted the hu/ent-9865 branch January 13, 2025 15:07
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.

3 participants