-
Improvement
-
Resolution: Fixed
-
Minor
-
4.5
-
MOODLE_405_STABLE
-
MOODLE_405_STABLE
-
MDL-82057-main -
-
5
-
HQ 2024 Sprint I2.2 Moppies
While looking at MDL-43938 we identify some improvements that should be done to copy/import badges. Currently:
- Badges are only included when user data and activities are selected; if any of these options are unchecked while creating a backup, badges are automatically excluded from the backup.
- Badges are only copied when "Include user data" is set to Yes and "Include role enrolments" has any role checked.
This is confusing because, although not all the badge information can be copied/exported (depending on the options selected), some information could also be included in backups/course copies if user data or activities weren't selected. For instance:
- If the user data is not selected (in backup or when copying a course), the badge information (name, description, image, ...) and the criteria can be included because it's independent of the users.
- If the activities are not selected (in backup), the badge information (name, description, image...) can still be copied. Criteria and users awarding the badge will be excluded (but, at least, the rest of the information, can be copied (and will probably save time for users).
So this issue is to review the workflow for the:
- backup to remove the current dependency of badges with user data and activities.
- copy course to remove the current dependency of badges with user data and enrolments.
The information included will be different (depending on whether the user data/activities must be added or not), but at least, the basic badges information could be copied even when no user data is selected.