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

log report error for event contexts

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.7.5, 2.8.3
    • 2.7.6, 2.8.4
    • Logging, Reports
    • apache 2.4.10 - 2.4.7
      PHP 5.5.21 - 5.5.9
      opcache enabled

    Description

      The links generated in the events context column of the log report are all links to /report/log/1

      Error visible on qa.moodle.net

      Error not existing on demo.moodle.net

      I suspect it is a cache issue, as when you change line 199 from the file
      report/log/classes/table_log.php

      if ($url = $context->get_url() && empty($this->download)) {
          $contextname = html_writer::link($url, $contextname);
      

      into

      if ($url = $context->get_url() && empty($this->download)) {
          $contextname = html_writer::link($context->get_url(), $contextname);
      

      the error disappears.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rdebleu Renaat Debleu
              David Monllaó David Monllaó
              Andrew Lyons Andrew Lyons
              Andrew Lyons Andrew Lyons
              David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/Mar/15