-
Bug
-
Resolution: Fixed
-
Minor
-
2.3.4
-
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
|
- has been marked as being related by
-
CONTRIB-4020 edit Template and Public questionnaire type capabilities not working
- Closed