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

Unable to download recent file in file picker with JS turned off

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.3
    • Component/s: Filepicker
    • Labels:
    • Testing Instructions:
      Hide
      1. Turn off browser Javascript
      2. Add file resource a course
      3. In "select files" section, add a file from 'recent files'
      4. Choose 'download'

      Make sure there's no error display.

      Show
      Turn off browser Javascript Add file resource a course In "select files" section, add a file from 'recent files' Choose 'download' Make sure there's no error display.
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      Replication steps:

      1. Be sure to have JS turned off at browser and site/user level
      2. Go to course and add "resource > file"
      3. In "Select files" section choose "Add", then "Recent files"
      4. Choose a file listed and click "Select"
      5. select the download button, the following error message occurs:

      Notice: Undefined property: stdClass::$contextid in /moodle/lib/filestorage/file_storage.php on line 953

        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