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

A course with subsections throws an exception if mod_subsection is disabled

XMLWordPrintable

    • 5
    • HQ 2024 Sprint I3.2 Moppies

      This issue is part of the course hierarch project.

      Issue goals

      Steps to reproduce:

      1. Enable mod_subsection
      2. Create a course with at least one subsection instance.
      3. Disable mod_subsection
      4. What should happen: the course is displayed.
      5. What happens: it throws an exception.

      The fix you also decide what happens with the delegated sections activities when mod_subsection is disabled. They could be:

      • hidden from the course page.
      • display the subsections as normal sections at the end of the course.
      • Any other creative solution.

      Update: the final decision from UX is to show the subsections as orphaned sections when mod_subplugin is disabled. This situation should be extremely rare and we already have an implementation for orphaned sections (they are treated as stealth sections with limited options).

        1. screenshot-1.png
          104 kB
          Laurent David
        2. screenshot_065.png
          70 kB
          Ferran Recio

            tusefomal Ferran Recio
            tusefomal Ferran Recio
            Laurent David Laurent David
            Amaia Anabitarte Amaia Anabitarte
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 2 hours, 16 minutes
                1d 2h 16m

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