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

When copying a course, mod_folder settings are copied incorrectly

    XMLWordPrintable

    Details

      Description

      On Moodle 3.9.4 when copying a course from Manage courses and categories > copy course, specific settings in mod_folder get copied incorrectly.

      The source course contains multiple mod_folder instances with the 'Download folder' option disabled, but their copies in the target course have this option set to enabled.

      mod_folder specific settings:

      • Show content on course page
      • Show download button ==> disabled

      Tested this on school.moodledemo.net as well, same result.

      To replicate:

      • In a course, add a mod_folder instance with at least 1 file in it
      • set the mod_folder instance to display on course page, no download button and save
      • Go to course admin menu > copy course
      • Check result in target course:
      • Download button for copied mod_folder instance displays

        Attachments

        1. MDL-71200.jpg
          15 kB
          Anna Carissa Sadia

          Issue Links

            Activity

              People

              Assignee:
              pholden Paul Holden
              Reporter:
              jwelshoff Joost Elshoff
              Peer reviewer:
              Amaia Anabitarte Amaia Anabitarte
              Integrator:
              Víctor Déniz Falcón Víctor Déniz Falcón
              Tester:
              Anna Carissa Sadia Anna Carissa Sadia
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                10/May/21

                  Time Tracking

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