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

Missing call to setType in "My private files" form

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.5
    • 2.5
    • Repositories
    • MOODLE_25_STABLE
    • MOODLE_25_STABLE
    • m25_MDL-38790_Missing_setType_in_My_private_files_form
    • Hide

      (difficulty: easy, requires administrator login)

      1. Log into Moodle
      2. Set debugging level, Home ► Site administration ► Development ► Debugging, to DEVELOPER and debugdisplay set to Yes
      3. Click on My Private files, Home ► My profile ► My private files
      4. No warning about the missing of call setType() for 'returnurl' should appear
      Show
      (difficulty: easy, requires administrator login) Log into Moodle Set debugging level, Home ► Site administration ► Development ► Debugging , to DEVELOPER and debugdisplay set to Yes Click on My Private files, Home ► My profile ► My private files No warning about the missing of call setType() for 'returnurl' should appear

      Here is the stack of the exceptions shown:

      Did you remember to call setType() for 'returnurl'? Defaulting to PARAM_RAW cleaning.
      line 1275 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 65 of \user\files.php: call to moodleform->moodleform()
      

      and:

      Did you remember to call setType() for 'returnurl'? Defaulting to PARAM_RAW cleaning.
      line 1275 of \lib\formslib.php: call to debugging()
      line 919 of \lib\formslib.php: call to moodleform->detectMissingSetType()
      line 76 of \user\files.php: call to moodleform->display()
      

            matteo Matteo Scaramuccia
            matteo Matteo Scaramuccia
            Dan Poltawski Dan Poltawski
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Adrian Greeve Adrian Greeve
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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