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

duplicate tag shuffleanswers in xml question exporting

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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

            ppollet Patrick Pollet created issue -
            timhunt Tim Hunt made changes -
            Field Original Value New Value
            Link This issue has a non-specific relationship to MDL-20636 [ MDL-20636 ]
            ppollet Patrick Pollet made changes -
            Affects Version/s 1.9.9 [ 10405 ]
            Affects Version/s 1.9.8 [ 10400 ]
            dougiamas Martin Dougiamas made changes -
            Workflow jira [ 36628 ] MDL Workflow [ 46305 ]
            dougiamas Martin Dougiamas made changes -
            Workflow MDL Workflow [ 46305 ] MDL Full Workflow [ 74599 ]
            timhunt Tim Hunt made changes -
            Status Open [ 1 ] Closed [ 6 ]
            Fix Version/s 2.1 [ 10370 ]
            Resolution Fixed [ 1 ]

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  1/Jul/11