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

Zero answers are not allowed in Matching questions

XMLWordPrintable

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

      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.

            timhunt Tim Hunt
            daveyboond Steve Bond
            Nobody Nobody
            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.