-
Improvement
-
Resolution: Fixed
-
Minor
-
3.7.7, 3.8.4, 3.9, 3.11
-
MOODLE_311_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
-
MOODLE_311_STABLE
-
master-
MDL-68792_v3 -
When LTI is configured to publish a Quiz activity, students attempting external quiz can't see quiz navigations block and timer.
Forum discussion: https://moodle.org/mod/forum/discuss.php?d=371681
Steps to replicate:
- You need two Moodle 3.9 sites.
- On SITE A, enable LTI enrolment and authentication.
- Create a course, create a quiz.
- In course admin click "Published as LTI tools".
- Publish the quiz.
- Copy Launch URL and Secret.
- On SITE B, create a course, enrol a student.
- Add an external tool, set Launch URL and Secret.
- Login as a student.
- Select the external tool.
- Confirm, that the page does not include the quiz navigation block.
Page layout is forced to be embedded here
https://github.com/moodle/moodle/blob/1afe68f3820b2b5996aa313357e3ddd3d5890192/enrol/lti/classes/tool_provider.php#L306-L316
and here
https://github.com/moodle/moodle/blob/1afe68f3820b2b5996aa313357e3ddd3d5890192/lib/pagelib.php#L1177-L1183