openedx / openedx/frontend-app-learning

Can't access course as staff when entrance exam is enabled AND haven't passed entrance exam

Open
#1,828 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

needs triage release testing ulmo
Dominant language
JavaScript
Stars
70
Forks
335
Avg merge
1d 17h
Merged PRs (30d)
35

Description

Expected Behavior

Given that I am Staff on a course
When an Entrance Exam is enabled for my course AND I have not passed the entrance exam
And I am viewing my course in the Learning MFE as a Staff user
I can still view, and interact with, my course subsections, units, and left sidebar nav

Actual Behavior

I cannot view or interact with course subsections, units, or left sidebar nav (which is hidden entirely)

Reproduction Steps

  1. On an Open edX instance, enable the Entrance Exam feature (https://docs.openedx.org/en/latest/educators/how-tos/set_up_course/require_entrance_exam.html)
  2. Create a new course, and add a new subsection with at least 2 distinct units. Publish the units.
  3. Enable the Entrance Exam. (Note: Bug is reproducible whether or not the Entrance Exam has content)
  4. As Staff click "View Live Course"
  5. Note that the subsection (after the entrance exam) - you can see the first unit but cannot see or navigate to the second or subsequent units.

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 in the Learning MFE course-view flow and reproduce the issue with a staff user, an enabled Entrance Exam, and a subsection containing at least two published units. Check the handling of subsection navigation and the left sidebar after the exam boundary. Done means staff can view and interact with all course subsections, units, and the left sidebar regardless of exam completion.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
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.