Moodle
  1. Moodle
  2. MDL-22695

duplicate tag shuffleanswers in xml question exporting

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.9
    • Fix Version/s: 2.1
    • Component/s: Questions
    • Labels:
      None
    • Environment:
      any
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE

      Description

      While working on a Web Service operation to export quizzes & questions in various formats I noticed that the tag shuffleanswers is emitted twice at least for questions of type multiplechoice. Once with an integer value (0,1) and once with a boolean value (true, false).

      <shuffleanswers>1</shuffleanswers>
      <single>false</single>
      <shuffleanswers>true</shuffleanswers>

      This does not seems to bother Moodle's question import process but may be a problem for external systems.

      Cheers.

        Gliffy Diagrams

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: