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

missing error message when entering empty response

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              bushido Mark Nielsen
              rezeau Joseph Rézeau
              Nobody Nobody
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11/Jan/08