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

Change filename of exported preset to ensure downloading the latest version

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.9.1
    • 1.9.2
    • None
    • Any
    • MOODLE_19_STABLE
    • 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

              roal Robert Allerstorfer
              roal Robert Allerstorfer
              Dongsheng Cai Dongsheng Cai
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11/Jul/08