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

ims qti 2.0 export doesn't work

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: 1.7.2, 1.8
    • Component/s: Questions, Quiz
    • Labels:
      None
    • Environment:
      debian, mysql
    • Database:
      Any
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_17_STABLE, MOODLE_18_STABLE

      Description

      qti 2.0 format export seems to work, but when you click to download the file, it gives an error message "Sorry, the requested file could not be found".

      This is for the default question category, with 2 questions in it - one multiple choice, one true and false.

      GIFT export does work, so it's not a directory permission problem.

      with debugging on, I see the following messages:

      Warning: Missing argument 1 for qformat_qti2::exportpreprocess(), called in /var/www/sandbox.mediagonal.ch/html/mhead/question/export.php on line 99 and defined in /var/www/sandbox.mediagonal.ch/html/mhead/question/format/qti2/format.php on line 113

      Warning: Missing argument 2 for qformat_qti2::exportpreprocess(), called in /var/www/sandbox.mediagonal.ch/html/mhead/question/export.php on line 99 and defined in /var/www/sandbox.mediagonal.ch/html/mhead/question/format/qti2/format.php on line 113

      Notice: Undefined variable: category in /var/www/sandbox.mediagonal.ch/html/mhead/question/format/qti2/format.php on line 124

      Notice: Undefined variable: course in /var/www/sandbox.mediagonal.ch/html/mhead/question/format/qti2/format.php on line 124

      Warning: Missing argument 1 for qformat_qti2::exportprocess(), called in /var/www/sandbox.mediagonal.ch/html/mhead/question/export.php on line 104 and defined in /var/www/sandbox.mediagonal.ch/html/mhead/question/format/qti2/format.php on line 235

      Notice: Undefined variable: filename in /var/www/sandbox.mediagonal.ch/html/mhead/question/format/qti2/format.php on line 241

      Notice: Undefined variable: filename in /var/www/sandbox.mediagonal.ch/html/mhead/question/format/qti2/format.php on line 244

        Attachments

          Activity

            People

            Assignee:
            howardsmiller Howard Miller
            Reporter:
            brianking Brian King
            Tester:
            Nobody Nobody
            Participants:
            Component watchers:
            Tim Hunt, Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Tim Hunt, Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              30/Mar/07