Skip to content

Issue with page: Require an Entrance Exam #891

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
leiramagpantay opened this issue Mar 11, 2025 · 5 comments
Open

Issue with page: Require an Entrance Exam #891

leiramagpantay opened this issue Mar 11, 2025 · 5 comments

Comments

@leiramagpantay
Copy link
Contributor

leiramagpantay commented Mar 11, 2025

Filename

require_entrance_exam

What persona(s) does this page touch? (skip if you don't know)

No response

What is broken about this file?

Other (detail below)

Provide any extra details, such as LMS version, specifics of what's broken, or suggested remediation steps.

This page needs to be tested with the ENTRANCE_EXAMS flag on.

In Require an Entrance Exam section, int step 4, there is no "Require students to pass an exam before accessing course materials" option under Requirements.

Image

@sarina
Copy link
Contributor

sarina commented Apr 23, 2025

@e0d - I know you worked through entrance exams needed. Any advice on how to fix up these docs?

@e0d
Copy link
Contributor

e0d commented Apr 24, 2025

This looks like an instance without the entrance exam feature enabled.

What that feature is enable you see this in the schedule and details section:

Image

I'm using a vanilla Tutor main at the moment. The feature isn't enabled on the sumac sandbox, so the behavior is different there.

@e0d
Copy link
Contributor

e0d commented Apr 24, 2025

Not sure where it's getting flipped in Tutor yet, but the entrance exam feature defaults to off.

https://github.com/openedx/edx-platform/blob/867e246606657bab14953ca40737da8b18ac4c86/openedx/core/toggles.py#L15

In [5]: from openedx.core import toggles
In [6]: print(toggles.ENTRANCE_EXAMS.is_enabled())
True

@sarina
Copy link
Contributor

sarina commented Apr 24, 2025

Gotcha. Probably the first step to updating these docs is a line at the top that says that toggle needs to be enabled.

@e0d
Copy link
Contributor

e0d commented Apr 24, 2025

OK, the reason it's on in tutor

./lms/envs/devstack.py:FEATURES['ENTRANCE_EXAMS'] = True

and

./lms/envs/tutor/development.py: from lms.envs.devstack import *

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants