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

misleading messages when exporting questions to file

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.8.2
    • 1.8.3, 1.9
    • Questions
    • None
    • MySQL
    • MOODLE_18_STABLE
    • 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

            howardsmiller Howard Miller
            andreabix Andrea Bicciolo
            Nobody Nobody
            Safat Shahin, Tim Hunt, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11/Oct/07