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

Zero answers are not allowed in Matching questions

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.8.2
    • 1.7.4, 1.8.4, 1.9
    • Questions
    • None
    • All
    • MOODLE_18_STABLE
    • MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE

    Description

      Bugs in /question/type/match/edit_match_form.php and /question/type/match/questiontype.php prevent the setting of "0" as an answer in a Matching question.

      It's caused by the usual empty vs. !isset problem. The attached patches fix the problem.

      Note that something similar was reported as MDL-4077 and was apparently closed, but the probelm persists.

      Attachments

        Activity

          People

            timhunt Tim Hunt
            daveyboond Steve Bond
            Nobody Nobody
            Safat Shahin, Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11/Jan/08