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

PDF files don't register in logs/reports when configured to "force download"

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.1
    • None
    • Files API, Resource
    • MySQL
    • MOODLE_21_STABLE

    Description

      When I log in as a student and click on a file with the "force download" setting, there is no entry in the logs (i.e., I get a "Never seen" for that resource even though I downloaded it to my computer). When the same file is set to "Open" instead of "force download", there is an entry in the logs. This is a new behavior. In version 2.0, when the student clicked on a file with the "force download" setting, a page would appear with a message saying: "Click on this link filename to download the file." and there would be an entry in the logs showing that this resource was viewed.

      Attachments

        1. filelib.php
          170 kB
          Diane Villemure
        2. filelib.php
          151 kB
          Benjamin Wolf
        3. pluginfile.php
          30 kB
          Benjamin Wolf

        Issue Links

          Activity

            People

              fred Frédéric Massart
              dvillemure Diane Villemure
              Matteo Scaramuccia, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: