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

duplicate tag shuffleanswers in xml question exporting

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.1
    • 1.9.9
    • Questions
    • None
    • any
    • MOODLE_19_STABLE
    • MOODLE_21_STABLE

      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.

            timhunt Tim Hunt
            ppollet Patrick Pollet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.