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

Survey title field appears to be mandatory but is not marked as such

XMLWordPrintable

    • MOODLE_21_STABLE
    • MOODLE_20_STABLE, MOODLE_21_STABLE

      The 'Title' field in the 'Advanced settings' tab appears to be mandatory, as if it is empty you get the following error when saving:

      Invalid get_string() identifier: 'errrequiredfields' or component 'questionnaire'

      line 6003 of /lib/moodlelib.php: call to debugging()
      line 6593 of /lib/moodlelib.php: call to core_string_manager->get_string()
      line 945 of /mod/questionnaire/locallib.php: call to get_string()
      line 80 of /mod/questionnaire/qsettings.php: call to questionnaire->survey_update()

      Error

      Could not create a new survey!

      More information about this error Stack trace:

      line 429 of /lib/setuplib.php: moodle_exception thrown line 81 of /mod/questionnaire/qsettings.php: call to print_error()

      Probably shouldn't let you save without a title and should have the asterisk next to the 'Title' field.

      Hopefully a trivial fix?

            mchurch Mike Churchward
            jenny-gray Jenny Gray
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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