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

Change filename of exported preset to ensure downloading the latest version

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.1
    • Fix Version/s: 1.9.2
    • Labels:
      None
    • Database:
      Any
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      Currently, when exporting a preset, the generated .zip file will be stored on the server as filename "preset.zip", always residing in the same location for the same database activity. After you have downloaded the preset.zip file once and you then make changes in one of the preset's components, a new preset.zip will be generated on a new export. However, since the URL does not change, most browsers will provide the old version from its cache.

      To ensure getting always the fresh preset.zip, I propose to rename it to "Database_name-preset-YYYYMMDD_HHSS.zip", which will also be more useful and in accordance with the name scheme of exported database records.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                roal Robert Allerstorfer
                Reporter:
                roal Robert Allerstorfer
                Tester:
                Dongsheng Cai
                Participants:
                Component watchers:
                Adrian Greeve, Mihail Geshoski, Peter Dias
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/Jul/08