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.

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.5
    • Course

      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
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

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