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

Teacher unable to edit questionnaire settings

XMLWordPrintable

    • PostgreSQL
    • Easy
    • MOODLE_23_STABLE
    • MOODLE_23_STABLE, MOODLE_24_STABLE

      To reproduce:

      As a teacher, add a new questionnaire. Click on "Save and Display", then on "Advanced Settings" tab. Change the title and click on "Save Settings".

      You'll see an error about not being able to create a new survey (that error message could use re-wording, too).

      The error log shows this:

      [Fri Mar 08 12:08:13 2013] [error] [client 10.0.0.200] PHP Notice:  Undefined property: stdClass::$realm in /private/var/www/mdl23/mod/questionnaire/qsettings.php on line 73, referer: http://10.0.0.200/mdl23/mod/questionnaire/qsettings.php?id=44
      [Fri Mar 08 12:08:13 2013] [error] [client 10.0.0.200] PHP Stack trace:, referer: http://10.0.0.200/mdl23/mod/questionnaire/qsettings.php?id=44
      [Fri Mar 08 12:08:13 2013] [error] [client 10.0.0.200] PHP   1. {main}() /private/var/www/mdl23/mod/questionnaire/qsettings.php:0, referer: http://10.0.0.200/mdl23/mod/questionnaire/qsettings.php?id=44
      [Fri Mar 08 12:08:13 2013] [error] [client 10.0.0.200] Default exception handler: Could not create a new survey! Debug: \nError code: couldnotcreatenewsurvey\n* line 476 of /lib/setuplib.php: moodle_exception thrown\n* line 96 of /mod/questionnaire/qsettings.php: call to print_error()\n, referer: http://10.0.0.200/mdl23/mod/questionnaire/qsettings.php?id=44
      

            rezeau Joseph Rézeau
            brianking Brian King
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.