Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-34311 Improve debugging when using default cleaning
  3. MDL-38715

Fix missing calls to setType in scorm mod_form.

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.5
    • Component/s: SCORM
    • Labels:

      Description

      Since MDL-34311 this triggers debug messages in the page.

      Did you remember to call setType() for 'scormtype'? Defaulting to PARAM_RAW cleaning.
      line 1266 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 71 of /course/moodleform_mod.php: call to moodleform->moodleform()
      line 248 of /course/modedit.php: call to moodleform_mod->moodleform_mod()
      Did you remember to call setType() for 'MAX_FILE_SIZE'? Defaulting to PARAM_RAW cleaning.
      line 1266 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 71 of /course/moodleform_mod.php: call to moodleform->moodleform()
      line 248 of /course/modedit.php: call to moodleform_mod->moodleform_mod()
      Did you remember to call setType() for 'updatefreq'? Defaulting to PARAM_RAW cleaning.
      line 1266 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 71 of /course/moodleform_mod.php: call to moodleform->moodleform()
      line 248 of /course/modedit.php: call to moodleform_mod->moodleform_mod()
      

        Attachments

          Activity

            People

            Assignee:
            danmarsden Dan Marsden
            Reporter:
            damyon Damyon Wiese
            Integrator:
            Dan Poltawski
            Tester:
            Rossiani Wijaya
            Participants:
            Component watchers:
            Damyon Wiese, Dan Marsden, Matteo Scaramuccia, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              14/May/13