XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.5
    • 2.5
    • Quiz
    • MOODLE_25_STABLE
    • MOODLE_25_STABLE
    • Easy
    • Hide

      You must have developer debugging turned on for this test. (Well you should always have that set for testing.)

      1. Create a quiz with Require password set to something.

      2. Start an attempt. Ensure there are no "Did you remember to call setType()" debug notices.

      Show
      You must have developer debugging turned on for this test. (Well you should always have that set for testing.) 1. Create a quiz with Require password set to something. 2. Start an attempt. Ensure there are no "Did you remember to call setType()" debug notices.

      Following warning is visible on mod/quiz/startattempt.php

      Did you remember to call setType() for 'cmid'? Defaulting to PARAM_RAW cleaning.•line 1289 of /lib/formslib.php: call to debugging()
      •line 281 of /lib/formslib.php: call to moodleform->detectMissingSetType()
      •line 202 of /lib/formslib.php: call to moodleform->_process_submission()
      •line 338 of /mod/quiz/accessmanager.php: call to moodleform->moodleform()
      •line 134 of /mod/quiz/startattempt.php: call to quiz_access_manager->get_preflight_check_form()
      

      Steps to reproduce:

      1. Log in as teacher and create a quiz having password.
      2. Log in as student and access the quiz.
      3. Click "Attempt quiz" and it will show you above warning.

            timhunt Tim Hunt
            rajeshtaneja Rajesh Taneja
            Dan Poltawski Dan Poltawski
            Andrew Davis Andrew Davis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.