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

Did you remember to call setType() for 'groupinfo'

    Details

    • Testing Instructions:
      Hide
      1. Select Standard theme.
      2. Go to a course where students are in groups.
      3. Add a Wiki page and set to allow groups.
      4. Add a Forum and set to allow groups.
      5. Login as a student that is in a group.
      6. Access the Wiki page and TEST that no errors occur when adding a new page.
      7. Still logged in as a student post a comment in the forum and TEST that no errors occur.
      Show
      Select Standard theme. Go to a course where students are in groups. Add a Wiki page and set to allow groups. Add a Forum and set to allow groups. Login as a student that is in a group. Access the Wiki page and TEST that no errors occur when adding a new page. Still logged in as a student post a comment in the forum and TEST that no errors occur.
    • Affected Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • Pull Master Branch:
      MDL-40244_M26

      Description

      I created a wiki and set it to separate groups. The admin was doing this and isnt in any group. The first time I student (who is in a group) went to the wiki they also had to create a start page. The following was displayed (/mod/wiki/create.php?wid=1&group=1&uid=0&title=blamo)

      Did you remember to call setType() for 'groupinfo'? 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 906 of /mod/wiki/pagelib.php: call to moodleform->moodleform()
      line 105 of /mod/wiki/create.php: call to page_wiki_create->set_action()

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    11/Nov/13