openedx / openedx/openedx-platform

Validate and update advanced settings on import?

Open
#34,538 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.