Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-37744 Datasetitems_form.php interface reworking
  3. MDL-44495

Calculated Questions: Ignored Dataset Settings Preventing Dataset Item Creation

    XMLWordPrintable

Details

    • MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE

    Description

      Calculated Question ignores Range of Values and Decimal Places when adding first new dataset item(s). Example:

      1. Set valid answer decimal places to 0
      2. Set decimal places to 0 for variable(s)
      3. Try to add 1 item
      4. See the following output:

        {a}+{b} 4.7+9.0 = 14
        ERROR Correct answer : 14 outside limits of true value
        Min: 13.7 — Max: 13.7

      Attachments

        1. patch.patch
          0.9 kB
        2. patch2.patch
          2 kB
        3. patch3.patch
          1 kB

        Activity

          People

            Unassigned Unassigned
            jrchamp Jonathan Champ
            Safat Shahin, Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: