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

Fix missing calls to setType in course criteria settings

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.6
    • 2.5
    • Badges
    • MOODLE_25_STABLE
    • MOODLE_26_STABLE
    • Hide

      1. Create a site level badge.
      2. Add course set completion criteria.
      3. Select some courses and proceed.
      3. No setType() warning should appear.

      Show
      1. Create a site level badge. 2. Add course set completion criteria. 3. Select some courses and proceed. 3. No setType() warning should appear.

      Did you remember to call setType() for 'grade_14'? Defaulting to PARAM_RAW cleaning.

      line 1303 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 78 of /badges/criteria_settings.php: call to moodleform->moodleform()

      To replicate:

      1. add a new badge
      2. add badge criteria for completing a set of course

            ybozhko Yuliya Bozhko
            rwijaya Rossiani Wijaya
            Ankit Agarwal Ankit Agarwal
            Sam Hemelryk Sam Hemelryk
            Michael de Raadt Michael de Raadt
            Votes:
            0 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.