Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-11636

missing error message when entering empty response

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.8.4, 1.9
    • 1.8, 1.9
    • Lesson
    • None
    • MOODLE_18_STABLE, MOODLE_19_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE

      In moodle 1.8 and 1.9 (not tested on 1.7) when student clicks on submit button and response is empty, there ought to be displayed the error message: "No answer given. Please go back and submit an answer."
      In moodle 1.8.2, this bug can be fixed by moving line 651
      $feedback = get_string('noanswer', 'lesson');
      up to just after line 526, which should now be:
      if ($noanswer)

      { $feedback = get_string('noanswer', 'lesson'); $newpageid = $pageid; // display same page again }

      else {
      Joseph

            bushido Mark Nielsen
            rezeau Joseph Rézeau
            Nobody Nobody
            Votes:
            1 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.