-
Notifications
You must be signed in to change notification settings - Fork 4.2k
feat: unify ModuleSystem and DescriptorSystem [BD-13] #31472
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
feat: unify ModuleSystem and DescriptorSystem [BD-13] #31472
Conversation
|
Thanks for the pull request, @kaustavb12! When this pull request is ready, tag your edX technical lead. |
4917eeb to
84beb2b
Compare
56519af to
ef00433
Compare
f90bb9d to
7b16070
Compare
7b16070 to
6b10606
Compare
06d148b to
d6eec2f
Compare
Agrendalath
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 tested this: did the regression testing of XBlocks, instructor tasks, etc.
- I read through the code
- I checked for accessibility issues: n/a
- Includes documentation: n/a
- I made sure any change in configuration variables is reflected in the corresponding client's
configuration-securerepository: n/a
c4d9e66 to
6b5f9ee
Compare
It was introduced in 159b707. We are removing this class. This also adds a missing test case.
This function was only used by tests. It was breaking tests from the `xmodule` package on the devstack because the dist.key of its entry_points is `open-edx`.
6b5f9ee to
c74f382
Compare
|
@kaustavb12 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future. |
|
EdX Release Notice: This PR has been deployed to the staging environment in preparation for a release to production. |
|
EdX Release Notice: This PR has been deployed to the production environment. |
After changes from openedx#31472, the user service of a "leaf" XBlock gets overridden with the one created for its parent (SequenceBlock). Therefore, the `requires_per_student_anonymous_id` is ignored in these XBlocks. The subsequent renders of an XBlock (e.g., when requesting the solution) use the student-specific IDs. This removes choosing the proper ID (course-specific or student-specific) from the runtime initialization. Instead, both IDs are passed to the user service. There are only two XBlocks that relied on the `requires_per_student_anonymous_id` - `ProblemBlock` and `HtmlBlock`. They now request the "deprecated" (student-specific) user ID directly from the user service.
Description
Work in progress PR to unify ModuleSystem and DescriptorSystem
Supporting information
OpenCraft internal ticket BB-5967
Testing instructions
Please provide detailed step-by-step instructions for testing this change.
Deadline
"None" if there's no rush, or provide a specific date or event (and reason) if there is one.
Other information
Include anything else that will help reviewers and consumers understand the change.