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

Tasks using $OUTPUT partially use web renderer not cli renderer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.3.2
    • Administration, Tasks
    • None
    • MOODLE_403_STABLE

      As part of MDL-70854, and MDL-80739 and other trackers I've noticed a weird bug where if you render something in a task then it starts off using the web renderer and emits a ton of html junk you don't want on the cli, and then at some point it correctly detects things and swaps midway to the cli renderer.

      https://github.com/catalyst/moodle-tool_testtasks/tree/master/classes/task/progress_task.php

      clear; php admin/cli/scheduled_task.php --execute='\tool_testtasks\task\progress_task'

       

      This is a problem will using any renderer method and not just a progress bar issue.

            Unassigned Unassigned
            brendanheywood Brendan Heywood
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:

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