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

File system repository linking does not work in 2.3



    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.3.2
    • Component/s: Repositories
    • Labels:
    • Affected Branches:
    • Fixed Branches:


      steps to reproduce this error.
      create a repository.
      create a file in the repository named 'a.txt' with contents 'a'
      select a course
      add an activity or resource to the course.
      select file resource, click add, name = a, description = a
      content add, select file a.txt in repository
      select 'Create an alias/shortcut to the file'
      select this file.
      save and display
      ensure file a.txt shows file contents 'a'

      now, edit the file a.txt to have contents 'b'
      in moodle, the file resource a still shows 'a', NOT 'b'

      this is a serious error. the way that moodle handles repositories has caused me countless hours of work as i have hundreds of references to a few files. updating files is a total nightmare.
      i have upgraded to 2.3 (where this issues was meant to be fixed) only to find that the over-engineered backwards way of handling a link still does not work.
      all i need is to link to a file in the repository, then if i update that file, the new file gets linked to in the moodle browser.
      if i wanted a new version of the file, i would give the file a different name.

      why does my moodle LMS that has about 200mb of content have a moodle data folder that is 16GB? because each instance of a file is re-copied to the system. with content pdfs linked to each of the 2000+ questions as help, it just adds up.


          Issue Links



              • Votes:
                3 Vote for this issue
                9 Start watching this issue


                • Created:
                  Fix Release Date: