openedx / openedx/openedx-platform
[Test failure] <TC_AUTHOR_154>: Completed course prereq, still can't access course
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 8.2k
- Forks
- 4.4k
- Avg merge
- 6d 18h
- Merged PRs (30d)
- 42
Description
Release
Teak
Expected behavior
- When I try to access the course that is gated by a prerequisite course before I completed the prerequisite course
- I see that I cannot access the course
- After I complete the prerequisite course
- I see that I can access the course that is gated by the prerequisite course
Actual behavior
- When I try to access the course that is gated by a prerequisite course before I completed the prerequisite course
- I see that I cannot access the course
- After I complete the prerequisite course content and have the required grade (or higher to access the gated course)
- I see that I still cannot access the course that is gated by the prerequisite course
Steps to reproduce
Setup
-
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)
-
Create or configure a course to use the course created in Step 1 as a prerequisite by:
-
In Studio, open your course.
-
On the Settings menu, select Schedule & Details.
-
On the Schedule & Details page, locate the Requirements section.
-
Under Prerequisite Course, select a course from the list.
-
Select Save Changes.
-
Log in as a student and enroll in both courses
-
Try to access the course that is gated by a prerequisite course
-
See that I cannot access the course
-
Complete the prerequisite course
-
See that you can access the course that is gated by a prerequisite course
Additional information
Recording
No response
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 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