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

Duplicate activity also duplicates badges

XMLWordPrintable

    • MOODLE_500_STABLE
    • MOODLE_405_STABLE
    • MDL-84416-405
    • MDL-84416-main
    • Hide
      1. Login as admin
      2. Edit "General restore defaults" and uncheck "Include badges".

       

      IMPORTANT: The "Include badges" option will also be automatically unchecked when restoring any course. Teachers and admins can re-enable it as needed.

      Show
      Login as admin Edit "General restore defaults" and uncheck "Include badges".   IMPORTANT : The "Include badges" option will also be automatically unchecked when restoring any course. Teachers and admins can re-enable it as needed.
    • Hide

      Covered by behat.

       

      For manual testing:

      1. Login as admin.
      2. Go to Site administration > Courses > Backups > General import defaults.
      3. Confirm "Include badges" exists and is unchecked by default.
      Show
      Covered by behat.   For manual testing: Login as admin. Go to Site administration > Courses > Backups > General import defaults. Confirm "Include badges" exists and is unchecked by default.
    • Hide

      Code verified against automated checks.

      Checked MDL-84416 using repository: https://github.com/sarjona/moodle.git

      More information about this report

      Built on: Mon Feb 10 04:22:33 PM UTC 2025

      Show
      Code verified against automated checks. Checked MDL-84416 using repository: https://github.com/sarjona/moodle.git MOODLE_405_STABLE (0 errors / 0 warnings) [branch: MDL-84416-405 | CI Job ] main (0 errors / 0 warnings) [branch: MDL-84416-main | CI Job ] More information about this report Built on: Mon Feb 10 04:22:33 PM UTC 2025
    • 1
    • HQ 2025 Sprint I1.1 Moppies

      Raised by Tomi Rozman in the forum: https://moodle.org/mod/forum/discuss.php?d=465724

      Steps to reproduce it

      1. Create a course with, at least, one activity and one badge (enabled or disabled).
      2. Duplicate the activity.

      Expected behaviour

      Only the activity is duplicated.

       

      Current behaviour

      Badges are also duplicated (in fact, they are multiplicated):

            sarjona Sara Arjona (@sarjona)
            sarjona Sara Arjona (@sarjona)
            Mikel Martín Corrales Mikel Martín Corrales
            Amaia Anabitarte Amaia Anabitarte
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            2 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 6 hours, 31 minutes
                6h 31m

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