Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-3962

Cannot access list of questionnaires if there is a template questionnaire

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE

      Description

      Courses with instances of the questionnaire activity, if there is an instance that has a "realm" of "template" will cause the page mod/questionnaire/index.php to throw a coding_error.

      Test:

      1. Add a questionnaire activity.
      2. Create and view activity.
      3. Click "Advanced settings" tab.
      4. Set "Questionnaire Type" = "Template"
      5. Save settings
      6. Go to course site/sections view
      7. Click "Quesitonnaires" in the course menu block.

        Attachments

          Activity

            People

            Assignee:
            mchurch Mike Churchward
            Reporter:
            rex Rex Lorenzo
            Participants:
            Component watchers:
            Mike Churchward
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              10/Sep/12