openedx / openedx/openedx-platform

[Test failure] <TC_AUTHOR_154>: Completed course prereq, still can't access course

Open
#36,965 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement release testing teak
Dominant language
Python
Stars
8.2k
Forks
4.4k
Avg merge
6d 18h
Merged PRs (30d)
42

Description

Release

Teak

Expected behavior
  1. When I try to access the course that is gated by a prerequisite course before I completed the prerequisite course
  2. I see that I cannot access the course
  3. After I complete the prerequisite course
  4. I see that I can access the course that is gated by the prerequisite course
Actual behavior
  1. When I try to access the course that is gated by a prerequisite course before I completed the prerequisite course
  2. I see that I cannot access the course
  3. After I complete the prerequisite course content and have the required grade (or higher to access the gated course)
  4. I see that I still cannot access the course that is gated by the prerequisite course
Steps to reproduce

Setup

  1. As a staff user create a short prerequisite course (example: CR Test Course Prereq is a current course you could use - as of 6/16/2025)

  2. Create or configure a course to use the course created in Step 1 as a prerequisite by:

  3. In Studio, open your course.

  4. On the Settings menu, select Schedule & Details.

  5. On the Schedule & Details page, locate the Requirements section.

  6. Under Prerequisite Course, select a course from the list.

  7. Select Save Changes.

  8. Log in as a student and enroll in both courses

  9. Try to access the course that is gated by a prerequisite course

  10. See that I cannot access the course

  11. Complete the prerequisite course

  12. See that you can access the course that is gated by a prerequisite course

Additional information

Recording
No response

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 reproducing the prerequisite-course setup described in the issue, including completing the prerequisite with the required grade. Trace the course-access decision after completion; done means the previously gated course becomes accessible while remaining blocked beforehand.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.