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

Create a new backup::MODE_RECYCLEBIN

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 3.7
    • Backup
    • MOODLE_37_STABLE
    • 5

      This is a followup of both  MDL-63263 and MDL-65218.

      Right now, both the course and category recycle bins are using backup::MODE_AUTOMATED (since MDL-63263) to perform their backups.

      And, while working ok, has some tradeoffs:

      • It's a mode that was incepted for another type of backups (scheduled ones). And performs some special actions like storing files in different places (prevented via hack @ MDL-65218)
      • It makes recycle bin backups dependent of scheduled backup defaults. So, if different defaults are desired, it's impossible.
      • It's confusing and prone to errors whenever we modify any automated functionality.

      Because of all those problems, this is a proposal about to create a new backup::MODE_RECYCLEBIN so all recycle bin backups will have their own mode, with own settings and own logic.

      HEADs UP: Don't forget the "hack" that was applied in MDL-65218 to keep backup::MODE_AUTOMATED working ok as recycle bin mode. And also the note in the admin setting @ MDL-63263 about automated defaults being also used by recycle bin ops.

      Ciao

            Unassigned Unassigned
            stronk7 Eloy Lafuente (stronk7)
            Votes:
            12 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated:

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