openedx / openedx/openedx-platform
Validate and update advanced settings on import?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 8.2k
- Forks
- 4.4k
- Avg merge
- 6d 18h
- Merged PRs (30d)
- 42
Description
Specifically, when courses are imported, we don't currently call validate_and_update_from_json. That function does things like proctoring setup and filling in teamsets' user_partition_ids. This situation can lead to some weird edge cases for course authors, for example:
- As a course author, I imported a new course with team-sets configured, but I don't see them in unit access settings. To fix this, I need to go to advanced settings, make an arbitrary change, and save.
See https://github.com/openedx/edx-platform/pull/33788#pullrequestreview-2007034911
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the course import entry point and compare it with the advanced-settings path that calls validate_and_update_from_json. Check how imported team-sets and proctoring setup are handled, then verify that imported courses have those settings updated without requiring an arbitrary advanced-settings change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100