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

Course format API deprecation messages incorrect

    XMLWordPrintable

Details

    • Moppies Kanban

    Description

      The updated Course format API (https://docs.moodle.org/dev/Moodle_4.0_developer_update#The_core_courseformat_subsystem), has lead to methods being deprecated, however, the 'debugging' messages, such as:

       

      debugging('section_left_content() can not be used anymore. Please use ' .
      'core_course\output\section_format to render a section.', DEBUG_DEVELOPER);

       

      in /course/format/classes/output/section_render.php refer to non-existant classes!  Even /course/format/classes/output/local/content/section/cmitem.php has:

      use core_course\output\section_format;

      This is on 4.0dev+ (Build: 20211022).

      Attachments

        Issue Links

          Activity

            People

              tusefomal Ferran Recio
              gb2048 Gareth J Barnard
              Amaia Anabitarte Amaia Anabitarte
              Sara Arjona (@sarjona) Sara Arjona (@sarjona)
              CiBoT CiBoT
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                19/Apr/22

                Time Tracking

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