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

duplicate activity from edit dropdown fails silently

XMLWordPrintable

      Duplicating an activity in a course fails silently if backup_import_<foo> is disabled.

      When the backup_controller constructor calls $this->apply_defaults, the "included" setting for the activity gets turned off if the relevant config setting is disabled. The controller is using "MODE_IMPORT", so this is not surprising.

      The duplicate function should work correctly no matter how these settings are configured.

      I suspect the best answer is to define an appropriate new mode that does not override anything.

            damyon Damyon Wiese
            nwpotago Nick Phillips
            David Monllaó David Monllaó
            CiBoT CiBoT
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 1 day, 4 hours, 30 minutes
                1d 4h 30m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 30 minutes Time Not Required
                30m

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