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

wrong number of imported questions

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: None
    • Component/s: Questions
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE

      Description

      Using 1.9. When importing questions form a Moodle XML file, the number of imported questions reported is 1 too many (because it counts the category itself as one question)!
      Suggested fix: file question/format.php line 202 change:
      notify( get_string('importingquestions','quiz',count($questions)) );

      to
      notify( get_string('importingquestions','quiz',count($questions) - 1) );

      Joseph

        Gliffy Diagrams

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: