You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set Entrance exam for course in schedule and details
As a student, enroll to the course
Actual Result
Students have access to the full course even before the Entrance Exam is finished
Expected Result
Students don't have access to course content before passing with necessary score for entrance exam
Notes:
Result of investigation:
The problem is Learning MFE used sections from course_outline. This data was fetched from /edx-platform/openedx/core/djangoapps/content/learning_sequences/api/outlines.py, get_user_course_outline_details. This function doesn`t check if is there an entrance exam and if the user passes the exam.
An example of how to check if the chapter is an entrance exam and did user passed it can be found at edx-platform/lms/djangoapps/courseware/views/index.py, _add_entrance_exam_to_context function
The text was updated successfully, but these errors were encountered:
STR:
Actual Result
Students have access to the full course even before the Entrance Exam is finished
![image](https://private-user-images.githubusercontent.com/22370912/345409183-42fa47c1-e7f7-401a-b18b-bc256c3312b8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE0NTIyMDMsIm5iZiI6MTcyMTQ1MTkwMywicGF0aCI6Ii8yMjM3MDkxMi8zNDU0MDkxODMtNDJmYTQ3YzEtZTdmNy00MDFhLWIxOGItYmMyNTZjMzMxMmI4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIwVDA1MDUwM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTAxZGI5NmFhOWM5MmU0YmUyYTY0OTM1N2UzOTgxYjJjZDMzODMwMTljZTEwY2M4ZWUyNTNkZTAxZmQzODI3NjcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.NWf050U0fjb6uYWnfOQNe32oBh45uDj0t5XnEBYNrZk)
Expected Result
Students don't have access to course content before passing with necessary score for entrance exam
![image](https://private-user-images.githubusercontent.com/22370912/345409214-dcfa3ef2-8416-4e41-9263-82355d816bbd.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE0NTIyMDMsIm5iZiI6MTcyMTQ1MTkwMywicGF0aCI6Ii8yMjM3MDkxMi8zNDU0MDkyMTQtZGNmYTNlZjItODQxNi00ZTQxLTkyNjMtODIzNTVkODE2YmJkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIwVDA1MDUwM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTlmNWFiY2M0MjI2OGNkNTVmN2ZmMjg2YTUyMzk2YzgzZjMyM2JkOTJmNDUxOTk5ZjkwMWM1NmY2NmNjNGNhYmEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.jGwL_zJ3nQUczYc0z3JfjUObg9R-238JKTPojxH-Eso)
Notes:
Result of investigation:
The problem is Learning MFE used sections from course_outline. This data was fetched from
/edx-platform/openedx/core/djangoapps/content/learning_sequences/api/outlines.py
,get_user_course_outline_details
. This function doesn`t check if is there an entrance exam and if the user passes the exam.An example of how to check if the chapter is an entrance exam and did user passed it can be found at
edx-platform/lms/djangoapps/courseware/views/index.py
,_add_entrance_exam_to_context
functionThe text was updated successfully, but these errors were encountered: