Details

    • Testing Instructions:
      Hide
      1. Within a course, create a database activity
      2. Select the 'Presets' tab. Make sure there's no warning for setType().
      3. select 'import entries' link (db activity admin > import entries). Make sure there's no warning for setType()
      Show
      Within a course, create a database activity Select the 'Presets' tab. Make sure there's no warning for setType(). select 'import entries' link (db activity admin > import entries). Make sure there's no warning for setType()
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      I found a few setType() warnings in the Database activity module.

      The Preset tab shows the following warnings...

      Did you remember to call setType() for 'd'? Defaulting to PARAM_RAW cleaning.
      
          line 1291 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 85 of \mod\data\preset.php: call to moodleform->moodleform()
      
      Did you remember to call setType() for 'action'? Defaulting to PARAM_RAW cleaning.
      
          line 1291 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 85 of \mod\data\preset.php: call to moodleform->moodleform()
      
      Did you remember to call setType() for 'd'? Defaulting to PARAM_RAW cleaning.
      
          line 1291 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 88 of \mod\data\preset.php: call to moodleform->moodleform()
      
      Did you remember to call setType() for 'action'? Defaulting to PARAM_RAW cleaning.
      
          line 1291 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 88 of \mod\data\preset.php: call to moodleform->moodleform()
      
      Did you remember to call setType() for 'd'? Defaulting to PARAM_RAW cleaning.
      
          line 1291 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 91 of \mod\data\preset.php: call to moodleform->moodleform()
      
      Did you remember to call setType() for 'action'? Defaulting to PARAM_RAW cleaning.
      
          line 1291 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 91 of \mod\data\preset.php: call to moodleform->moodleform()
      
      Did you remember to call setType() for 'd'? Defaulting to PARAM_RAW cleaning.
      
          line 1291 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 94 of \mod\data\preset.php: call to moodleform->moodleform()
      
      Did you remember to call setType() for 'action'? Defaulting to PARAM_RAW cleaning.
      
          line 1291 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 94 of \mod\data\preset.php: call to moodleform->moodleform()
      
      Did you remember to call setType() for 'd'? Defaulting to PARAM_RAW cleaning.
      
          line 1291 of \lib\formslib.php: call to debugging()
          line 919 of \lib\formslib.php: call to moodleform->detectMissingSetType()
          line 245 of \mod\data\preset.php: call to moodleform->display()
      
      Did you remember to call setType() for 'action'? Defaulting to PARAM_RAW cleaning.
      
          line 1291 of \lib\formslib.php: call to debugging()
          line 919 of \lib\formslib.php: call to moodleform->detectMissingSetType()
          line 245 of \mod\data\preset.php: call to moodleform->display()
      
      Did you remember to call setType() for 'd'? Defaulting to PARAM_RAW cleaning.
      
          line 1291 of \lib\formslib.php: call to debugging()
          line 919 of \lib\formslib.php: call to moodleform->detectMissingSetType()
          line 246 of \mod\data\preset.php: call to moodleform->display()
      
      Did you remember to call setType() for 'action'? Defaulting to PARAM_RAW cleaning.
      
          line 1291 of \lib\formslib.php: call to debugging()
          line 919 of \lib\formslib.php: call to moodleform->detectMissingSetType()
          line 246 of \mod\data\preset.php: call to moodleform->display()
      
      Did you remember to call setType() for 'd'? Defaulting to PARAM_RAW cleaning.
      
          line 1291 of \lib\formslib.php: call to debugging()
          line 919 of \lib\formslib.php: call to moodleform->detectMissingSetType()
          line 250 of \mod\data\preset.php: call to moodleform->display()
      
      Did you remember to call setType() for 'action'? Defaulting to PARAM_RAW cleaning.
      
          line 1291 of \lib\formslib.php: call to debugging()
          line 919 of \lib\formslib.php: call to moodleform->detectMissingSetType()
          line 250 of \mod\data\preset.php: call to moodleform->display()
      
      Did you remember to call setType() for 'd'? Defaulting to PARAM_RAW cleaning.
      
          line 1291 of \lib\formslib.php: call to debugging()
          line 919 of \lib\formslib.php: call to moodleform->detectMissingSetType()
          line 251 of \mod\data\preset.php: call to moodleform->display()
      
      Did you remember to call setType() for 'action'? Defaulting to PARAM_RAW cleaning.
      
          line 1291 of \lib\formslib.php: call to debugging()
          line 919 of \lib\formslib.php: call to moodleform->detectMissingSetType()
          line 251 of \mod\data\preset.php: call to moodleform->display()
      

      The import entries page shows...

      Did you remember to call setType() for 'fieldenclosure'? Defaulting to PARAM_RAW cleaning.
      
          line 1291 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 67 of \mod\data\import.php: call to moodleform->moodleform()
      
      Did you remember to call setType() for 'fieldenclosure'? Defaulting to PARAM_RAW cleaning.
      
          line 1291 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 85 of \mod\data\import.php: call to moodleform->moodleform()
      
      Did you remember to call setType() for 'fieldenclosure'? Defaulting to PARAM_RAW cleaning.
      
          line 1291 of \lib\formslib.php: call to debugging()
          line 919 of \lib\formslib.php: call to moodleform->detectMissingSetType()
          line 89 of \mod\data\import.php: call to moodleform->display()
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

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