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

duplicate tag shuffleanswers in xml question exporting

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.9.9
    • 2.1
    • Questions
    • None
    • any
    • MOODLE_19_STABLE
    • 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.

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              ppollet Patrick Pollet
              Safat Shahin, Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                1/Jul/11