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: URLs get the current value of LMS_BASE_URL from getConfig() #269 #273

Merged
merged 1 commit into from
Feb 7, 2024

Conversation

hinakhadim
Copy link
Contributor

Unenroll URL was picking the stale value of getConfig().LMS_BASE_URL. After the following changes, it'll pick the current value of getConfig().LMS_BASE_URL. This is done on the basis of openedx/frontend-platform. This PR will fix the #269 .

@openedx-webhooks
Copy link

Thanks for the pull request, @hinakhadim! Please note that it may take us up to several weeks or months to complete a review and merge your PR.

Feel free to add as much of the following information to the ticket as you can:

  • supporting documentation
  • Open edX discussion forum threads
  • timeline information ("this must be merged by XX date", and why that is)
  • partner information ("this is a course on edx.org")
  • any other information that can help Product understand the context for the PR

All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here.

Please let us know once your PR is ready for our review and all tests are green.

⚠️ We can't start reviewing your pull request until you've submitted a signed contributor agreement or indicated your institutional affiliation. Please see the CONTRIBUTING file for more information. If you've signed an agreement in the past, you may need to re-sign. See The New Home of the Open edX Codebase for details.

Once you've signed the CLA, please allow 1 business day for it to be processed. After this time, you can re-run the CLA check by adding a comment here that you have signed it. If the problem persists, you can tag the @openedx/cla-problems team in a comment on your PR for further assistance.

@openedx-webhooks openedx-webhooks added the open-source-contribution PR author is not from Axim or 2U label Jan 15, 2024
@itsjeyd
Copy link

itsjeyd commented Jan 18, 2024

Hey @hinakhadim, thank you for this contribution!

As the bot says, the next step will be for you to submit a signed CLA. Once that's done and the build is green, we can line this PR up for engineering review.

@hinakhadim
Copy link
Contributor Author

Signing of CLA has been done.

@itsjeyd
Copy link

itsjeyd commented Jan 25, 2024

@hinakhadim Great! I'm lining the changes up for a test run.

@itsjeyd itsjeyd added the needs test run Author's first PR to this repository, awaiting test authorization from Axim label Jan 25, 2024
Copy link

codecov bot commented Feb 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (3a2d6db) 96.04% compared to head (c73c0fe) 96.04%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #273   +/-   ##
=======================================
  Coverage   96.04%   96.04%           
=======================================
  Files         194      194           
  Lines        1844     1844           
  Branches      322      322           
=======================================
  Hits         1771     1771           
  Misses         68       68           
  Partials        5        5           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mariajgrimaldi
Copy link
Member

mariajgrimaldi commented Feb 5, 2024

Thank you! This change will also fix openedx/wg-build-test-release#336, so we'll need to backport it to quince once it's merged here. I tested the unenroll changes locally in my Tutor nightly environment, and now it's working as expected. Thank you again!

Copy link
Contributor

@arbrandes arbrandes left a comment

Choose a reason for hiding this comment

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

Looks great, thanks!

@jsnwesson
Copy link
Contributor

Works on my devstack as well, thanks for pinging me @arbrandes !

@mphilbrick211 mphilbrick211 removed the needs test run Author's first PR to this repository, awaiting test authorization from Axim label Feb 5, 2024
@arbrandes
Copy link
Contributor

@hinakhadim, do you mind rebasing and resolving conflicts, so we can merge your PR?

@hinakhadim hinakhadim force-pushed the fix/unenroll-url-fixes branch from 34832a2 to a09966f Compare February 6, 2024 05:24
@hinakhadim
Copy link
Contributor Author

Thanks everyone for your attention. I've rebased the PR, feel free to have a look on it.

@mariajgrimaldi
Copy link
Member

I went ahead and created the backport for Quince. Once this is merged, we can review/merge that one. Thanks!

@jsnwesson jsnwesson merged commit ad56b36 into openedx:master Feb 7, 2024
6 checks passed
@jsnwesson jsnwesson mentioned this pull request May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
open-source-contribution PR author is not from Axim or 2U
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

7 participants