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

Notice and broken links if a public survey still exists in a deleted course

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.7.2
    • None
    • Module: Questionnaire
    • None
    • MOODLE_27_STABLE

    Description

      We don't know how this happened, but at the OU we have a mdl_questionnaire_survey with realm = public, and where owner points to a course that has been deleted. (To reproduce this, it is probably easiest to edit the owner for an existing public questionnaire, to point at a non-existent courseid.)

      This leads to a NOTICE in the PHP logs whenever you try to add a new questionnaire. In the Content options section of the form, you get an option, but it does not good to select it since that leads to an error.

      Attachments

        Activity

          People

            mchurch Mike Churchward
            timhunt Tim Hunt
            Mike Churchward
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: