Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.4.3, 3.5.5
-
MOODLE_34_STABLE, MOODLE_35_STABLE
-
MOODLE_35_STABLE, MOODLE_36_STABLE
-
MDL-62572-master -
Description
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.
Attachments
Issue Links
- has a non-specific relationship to
-
MDL-51361 Make default settings for imports configurable
-
- Closed
-