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

Tolerance should not be required for the answer * in numerical/calculated questions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.2, 2.2
    • Fix Version/s: 2.1.3
    • Component/s: Questions
    • Labels:
      None
    • Testing Instructions:
      Hide

      For each of Numerical, Calculated and Calculated simple qtypes:

      1. Create a new question of this type with two answers, the second answer being *. First try to submit the form when both answers have a tolerance that is blank. You should get a validation for answer 1, but not answer 2.

      2. Then put in a tolerance for answer 1, but leave the tolerance for answer 2 blank. You should now be able to successfully sumbit the form.

      Show
      For each of Numerical, Calculated and Calculated simple qtypes: 1. Create a new question of this type with two answers, the second answer being *. First try to submit the form when both answers have a tolerance that is blank. You should get a validation for answer 1, but not answer 2. 2. Then put in a tolerance for answer 1, but leave the tolerance for answer 2 blank. You should now be able to successfully sumbit the form.
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      When the teacher uses the answer '*' to match 'any other response' we should not insist that they enter a tolerance.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              timhunt Tim Hunt
              Reporter:
              timhunt Tim Hunt
              Peer reviewer:
              Pierre Pichet
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Ankit Agarwal
              Participants:
              Component watchers:
              Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                28/Nov/11