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

In Moodle XML import, make answer fraction format consistent

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.7.1, 1.7.2, 1.8
    • Fix Version/s: 1.7.2, 1.8, 1.9
    • Component/s: Questions, Quiz
    • Labels:
      None
    • Affected Branches:
      MOODLE_17_STABLE, MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE

      Description

      The manner in which answer grade fractions are represented in the question back Moodle XML import format is inconsistent. Most questions use a percentage (0-100), but some (numerical and essay) use a fraction 0-1.

      Make all questions use the 0-100 format. The change must be backward compatible so that 0-1 data is handled appropriately.

      Discussion: http://moodle.org/mod/forum/discuss.php?d=66532

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            howardsmiller Howard Miller added a comment -

            The answer fraction is now consistent for numerical and essay type questions. The fix is backwards compatible for xml files exported from older versions of Moodle. The reverse is not guaranteed to be true however.

            Show
            howardsmiller Howard Miller added a comment - The answer fraction is now consistent for numerical and essay type questions. The fix is backwards compatible for xml files exported from older versions of Moodle. The reverse is not guaranteed to be true however.

              People

              • Assignee:
                howardsmiller Howard Miller
                Reporter:
                howardsmiller Howard Miller
                Tester:
                Nobody
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  30/Mar/07