Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-41833

SetType warnings in feedback when trying to delete a response

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.5.2
    • 2.4.7, 2.5.3, 2.6
    • Feedback
    • MOODLE_25_STABLE
    • MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • MDL-41833-master
    • Hide
      1. Make sure you have all debugging turned on in your php.ini and moodle config.
      2. Create a feedback activity.
      3. submit a feedback as student.
      4. Try deleting the student response as Admin.
      5. make sure you don't get any setType warnings.
      Show
      Make sure you have all debugging turned on in your php.ini and moodle config. Create a feedback activity. submit a feedback as student. Try deleting the student response as Admin. make sure you don't get any setType warnings.
    • 2
    • BACKEND Sprint 5

    Description

      1. Create a feedback activity
      2. submit a feedback as student
      3. Try deleting the student response as Admin.
      4. make sure you don't get the following error:-

        Did you remember to call setType() for 'completedid'? Defaulting to PARAM_RAW cleaning.
         
            line 1336 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 59 of /mod/feedback/delete_completed.php: call to moodleform->moodleform()
         
        Skip to main content
        test
        You are logged in as Admin User (Log out)
         

      Attachments

        Issue Links

          Activity

            People

              ankit_frenz Ankit Agarwal
              ankit_frenz Ankit Agarwal
              Adrian Greeve Adrian Greeve
              Marina Glancy Marina Glancy
              Michael de Raadt Michael de Raadt
              Amaia Anabitarte, Bas Brands, Carlos Escobedo, Laurent David, Sabina Abellan, Sara Arjona (@sarjona)
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11/Nov/13