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
    • Rank:
      6061

      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.

        Issue Links

          Activity

          Patrick Pollet created issue -
          Tim Hunt made changes -
          Field Original Value New Value
          Link This issue has a non-specific relationship to MDL-20636 [ MDL-20636 ]
          Patrick Pollet made changes -
          Affects Version/s 1.9.9 [ 10405 ]
          Affects Version/s 1.9.8 [ 10400 ]
          Martin Dougiamas made changes -
          Workflow jira [ 36628 ] MDL Workflow [ 46305 ]
          Martin Dougiamas made changes -
          Workflow MDL Workflow [ 46305 ] MDL Full Workflow [ 74599 ]
          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: