openedx / openedx/frontend-app-learning
Can't access course as staff when entrance exam is enabled AND haven't passed entrance exam
Nobody has claimed this yet.
- 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
- 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)
- Create a new course, and add a new subsection with at least 2 distinct units. Publish the units.
- Enable the Entrance Exam. (Note: Bug is reproducible whether or not the Entrance Exam has content)
- As Staff click "View Live Course"
- 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
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 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