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

Course format API deprecation messages incorrect

XMLWordPrintable

    • Moppies Kanban

      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).

            tusefomal Ferran Recio
            gb2048 Gareth J Barnard
            Amaia Anabitarte Amaia Anabitarte
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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