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

Folder revision number not updated on file upload / caching of files

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.1
    • Fix Version/s: 2.1.6, 2.2.3
    • Component/s: Resource
    • Labels:
    • Testing Instructions:
      Hide

      1/ create folder instance with some files
      2/ find revision number in file links (in place of itemid in pluginfile.php link)
      3/ hit edit and submit for saving
      4/ verify the revision was incremeneted

      Show
      1/ create folder instance with some files 2/ find revision number in file links (in place of itemid in pluginfile.php link) 3/ hit edit and submit for saving 4/ verify the revision was incremeneted
    • Affected Branches:
      MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      w12_MDL-32079_m23_folderrev

      Description

      When updating a Folder's files through the 'Edit' option (not within settings, but within the Folder resource: mod/folder/edit.php), uploading/changing files does not increase the folder's revision number.
      This becomes an issue when a file with the same name is uploaded and overwritten, since the browser will use a cached version of the file. Since the file link contains the revision number, this problem would be fixed by updating the revision number whenever the folder's files are updated.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                skodak Petr Skoda
                Reporter:
                development@vfs.com R Y
                Integrator:
                Sam Hemelryk
                Tester:
                Adrian Greeve
                Participants:
                Component watchers:
                Adrian Greeve, Mihail Geshoski, Peter Dias
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  14/May/12