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

misleading messages when exporting questions to file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.2
    • Fix Version/s: 1.8.3, 1.9
    • Component/s: Questions
    • Labels:
      None
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE

      Description

      When trying to export questions to file, Moodle behaves differently depending on the category to export. For instance, when trying to export the "Default" category AND the Default category is empty, Moodle prompts as follows:

      -Questions are being exported to file
      -No questions have been added yet
      -An error occurred during export processing

      When trying to export a named category (different form "Default") AND the category is empty, Moodle prompts as follows:

      -Questions are being exported to file
      -Cannot write to export file (/var/www/html/mymoodle.tld/moodledata/xx/backupdata/quiz/quiz-testcat-20070914-1002.txt)

      Problems:
      in the first example, users are prompted for a misleading unknown error: there is no error involved, user has only selected an empty category
      In the second example, users are misleaded to think question are exported but something went wrong.

      Possible solution:

      • prompt the users he is trying to export an empty category for either Default and custom named categories.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/Oct/07