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

Duplicate an activity with a delegated section (like mod_subsection) should also duplicate the full subsection.


    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.5
    • Course
    • C->HQ 2024 Sprint I2.2 Moppies

      This issue is part of the course hierarch project.

      Issue goals

      Once mod_subsection is incorporated into core, some activities will be able to use delegated sections. When one of these activities is duplicated, the delegated section should be duplicated as well.

      This issue may be discarded depending on the results of MDL-80191. In theory, having a proper backup and restore of the delegated section should also provide the logic for the duplication.  However, there are several aspects to take into consideration:

      • Evaluate the possibility of an async duplication of the section to prevent timeouts.
      • Duplicating a normal activity is not a long task and can be done in a single Ajax request from the course page. However, it is possible that duplicating a mod_subsection require som extra time and produces a timeout. This may require having the option of a non-ajax duplication.
      • The duplicate section method should be added to the formatactions API from MDL-80187.


            Unassigned Unassigned
            tusefomal Ferran Recio
            0 Vote for this issue
            2 Start watching this issue


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