-
Notifications
You must be signed in to change notification settings - Fork 4.2k
feanil/update courseware links #36430
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
Conversation
c0324e8 to
e1a3a6b
Compare
arslanashraf7
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 I was also able to test the redirect updated scenarios in this PR.
|
Thanks for the review @arslanashraf7 @feanil I think this is good to go, once you rebase |
We want to remove this page and URL endpoint so we're removing all the references in the code that might point to this page. It was replaced by the sequences page in the Learning MFE years ago but the old pages were never cleaned up. We are replacing the calls with the URL for the courseware in the learning MFE. See #35803 for more details.
The courseware URL is going away but it's just used here to test the middleware. That can be test with other urls that are relevant to this middleware. Note, I was unable to re-produce the failures so I've put back using the standard `reverse` logic for fetching the URL in the test.
e1a3a6b to
cdf2603
Compare
arbrandes
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! 👍🏼
|
2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production. |
|
2U Release Notice: This PR has been deployed to the edX production environment. |
1 similar comment
|
2U Release Notice: This PR has been deployed to the edX production environment. |
This is a small increment related to #35803
There are portions of the LMS that were redirecting to the old courseware URL which in turn would redirect to the new MFE url. The changes here bypass the extra hop in many of those cases. This is a pre-requisite to dropping the old legacy page.