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

General backup setting for 'Include files' doesn't change the default

XMLWordPrintable

      The 'Include files' setting (backup_general_files) from General backup settings is meant to "Sets the default for including files in a backup", but this isn't being set as the default for backups in the UI. 

      It looks like apply_config_defaults() doesn't load this default at all. All other general backup settings are loaded here.

      From my testing the Include files option in the backup is still working as intended, it just isn't loading the default from general backup settings.

      Steps to reproduce:

      1. Go to Site administration > Courses > Backups > General Backup defaults. (admin/settings.php?section=backupgeneralsettings)
      2. Uncheck 'Include files' (backup_general_files) and save changes.
      3. Open a course and from course reuse load the backup page. (backup/backup.php?id=1)
      4. 'Include files' will still be checked

            pholden Paul Holden
            benjaminwalker Benjamin Walker
            Brendan Heywood Brendan Heywood
            Jun Pataleta Jun Pataleta
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 13 minutes
                13m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.