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

core_course_duplicate_course does not copy badges

XMLWordPrintable

    • MOODLE_400_STABLE

      There is no option to include or exclude badges from the duplicate, but even using the site defaults for backup and restore, with both set to default badges to ON, badges were still not maintained in a course copy. I initially thought this was a backup/restore controller issue, but after looking a little deeper, inside the webservice function, after the backup and restore controllers had been created, just prior to execution, calling 

      $controller->get_plan()->get_setting('badges')>get_value();

       for both controllers were both showing true, so there must be something deeper in the controller preventing the badges from coming across

        1. CopiedCourseBadge1.png
          92 kB
          Raquel Ortega
        2. CopyCourseWithBadges.png
          75 kB
          Raquel Ortega

            Unassigned Unassigned
            peterburnett Peter Burnett
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours
                4h

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