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

WebCT import scripts don't always clean up

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8.6, 2.9, 3.0
    • Fix Version/s: 2.8.7, 2.9.1
    • Component/s: Questions
    • Labels:
    • Testing Instructions:
      Hide

      1. Create an invalid zip file. (E.g. rename any old .txt file to .zip.)
      2. Go to a course's question bank, select import
      3. Import the invalid zip file, with the webct option checked.
      4. Verify that no folders are present in tempdir/webct_import/

      Show
      1. Create an invalid zip file. (E.g. rename any old .txt file to .zip.) 2. Go to a course's question bank, select import 3. Import the invalid zip file, with the webct option checked. 4. Verify that no folders are present in tempdir /webct_import/
    • Affected Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      There is a typo in /question/format/webct/format.php that prevents the import from tidying up the temporary directory if the script fails to import the zip file.

        Attachments

          Activity

            People

            • Assignee:
              timhunt Tim Hunt
              Reporter:
              skylarkelty Skylar Kelty
              Peer reviewer:
              Tim Hunt
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Simey Lameze
              Participants:
              Component watchers:
              Tim Hunt, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                6/Jul/15