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

Subsection instances should not be available for single activity format

XMLWordPrintable

    • 2
    • HQ 2024 Sprint I3.2 Moppies

      This issue is part of the course hierarchy project.

      Subsections use a particular activity plugin to point to the course position. However, this introduced some problems in formats that do not use sections. The setting in single activity format shows subsection as a valid setting when it should not.

      Steps to reproduce :

      1. Login as admin and go to the courses page.
      2. Select create a new course form the my course action menu
      3. In the course creation format open the format settings
      4. Set the format to "single activity format" and wait for the page to reload.
      5. Now check the values in "Type of activity"
        1. Expected: subsection should not appear
        2. What happens: subsections appear. If you use it the course page is blank and the activity chooser is not working as expected.

      Technical shaping

      • Activities extending sectiondelegate class shouldn't be used in course formats without sections.

       

            amaia Amaia Anabitarte
            tusefomal Ferran Recio
            Carlos Escobedo Carlos Escobedo
            Jun Pataleta Jun Pataleta
            CiBoT CiBoT
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 23 minutes
                3h 23m

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