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

Allow delegate plugins to capture section renaming

    XMLWordPrintable

Details

    • MOODLE_404_STABLE
    • MOODLE_404_STABLE
    • MDL-80715-main
    • Hide

      All core changes are tested via PHPUnit.

      However, to test the mod_subsection sync:

      Test mod_subsection behats

      Some features of this issue are not used by core plugins yet. To test it, you need to use the alpha version of mod_subsection:

      1. Decompress the MDL-80715_mod_subsection.zip code attached to this issue into the instance "mod" folder.
        1. Check you have a "mod/subsection" folder.
      2. Login as admin and install the plugin
      3. In the terminal, init behat and run selenium.
      4. Execute all behats using the option --tags=@mod_subsection
        1. Check all tests pass.
      Show
      All core changes are tested via PHPUnit. However, to test the mod_subsection sync: Test mod_subsection behats Some features of this issue are not used by core plugins yet. To test it, you need to use the alpha version of mod_subsection: Decompress the MDL-80715_mod_subsection.zip  code attached to this issue into the instance "mod" folder. Check  you have a "mod/subsection" folder. Login as admin and install the plugin In the terminal, init behat and run selenium. Execute all behats using the option --tags=@mod_subsection Check  all tests pass.
    • HQ2024 Sprint I1.1 Moppies

    Description

      This issue is part of the course hierarchy project.

      Issue goals

      • Implement a core_courseformat\sectiondelegate::validate_section_rename($section):string that captures the section renaming and allows the delegate component process the section name and return the value to store in DB.
        • This method will get an empty string when the section is created for the first time (or the user leaves it blank)
        • When the user changes the delegated section's name, it can trigger other changes, like an activity renaming.

      Future issues

      mod_subsection will use that method to add default naming to subsections and also to change the activity name if the user renames the subsection form a course section page.

      Attachments

        Issue Links

          Activity

            People

              tusefomal Ferran Recio
              tusefomal Ferran Recio
              Mikel Martín Corrales Mikel Martín Corrales
              Amaia Anabitarte Amaia Anabitarte
              Sara Arjona (@sarjona) Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 week, 4 days, 3 hours, 57 minutes
                  1w 4d 3h 57m

                  Clockify

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