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

Unable to export database entries

    Details

    • Testing Instructions:
      Hide

      This test requires the following:

      • Portfolios and the file download portfolio plugin to be enabled for the site
      • A database activity containing entries from at least two students
      1. Login as teacher, edit the single template for the database activity and add an ##export## tag.
      2. Login as a student, access the database activity and try exporting one of your entries, selecting file download as the portfolio.

      Expected result:

      The student can export the file.

      Show
      This test requires the following: Portfolios and the file download portfolio plugin to be enabled for the site A database activity containing entries from at least two students Login as teacher, edit the single template for the database activity and add an ##export## tag. Login as a student, access the database activity and try exporting one of your entries, selecting file download as the portfolio. Expected result: The student can export the file.
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      wip-MDL-33527-master

      Description

      When a student tries to export a database entry, the Moodle serves a blank screen.

      The original error reported by Bas Brands in MDLQA-1972 was: Fatal error: Class 'file_info' not found in /var/www/latest.sunstreammedia.com/moodle/mod/data/locallib.php on line 410

      To Recreate:
      This test requires the following:

      • Portfolios and the file download portfolio plugin to be enabled for the site
      • A database activity containing entries from at least two students

      1. Login as teacher, edit the single template for the database activity and add an ##export## tag.
      2. Login as a student, access the database activity and try exporting one of your entries, selecting file download as the portfolio.

      Expected result:

      • The student can export the file.

      Actual result:

      • Moodle serves a blank page.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    25/Jun/12