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

Fatal Error exporting glossary entries to portfolio

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.3
    • Component/s: Glossary, Portfolio
    • Labels:
    • Testing Instructions:
      Hide

      This test requires the following:

      • Portfolios and the file download and Google Docs portfolio plugins to be enabled for the site
      • A glossary activity containing entries from at least two students
      • A Google Docs account for use in testing
      1. Login as a student, and access the glossary activity.
      2. Try exporting an entry made by you, selecting file download as the portfolio.

      Expected result:

      • The student can export the Glossary entry.
      Show
      This test requires the following: Portfolios and the file download and Google Docs portfolio plugins to be enabled for the site A glossary activity containing entries from at least two students A Google Docs account for use in testing Login as a student, and access the glossary activity. Try exporting an entry made by you, selecting file download as the portfolio. Expected result: The student can export the Glossary entry.
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      wip-MDL-33594-master

      Description

      When a student clicks the link to export a glossary entry to portfolio, Moodle serves a blank page. The server log records the following fatal exception:

      PHP Fatal error: Class 'file_info' not found in /home/tim/webs/moodle/mod/glossary/locallib.php on line 458, referer: http://localhost/moodle/mod/glossary/view.php?id=6

      To Recreate:
      This test requires the following:

      Portfolios and the file download and Google Docs portfolio plugins to be enabled for the site
      A glossary activity containing entries from at least two students
      A Google Docs account for use in testing

      1. Login as a student, and access the glossary activity.
      2. Try exporting an entry made by you, selecting file download as the portfolio.

      Expected result:

      • The student can export the Glossary entry.

      Actual result:

      • Fatal exception is thrown.

        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