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

log report error for event contexts

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.7.5, 2.8.3
    • Fix Version/s: 2.7.6, 2.8.4
    • Component/s: Logging, Reports
    • Environment:
      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

              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  9/Mar/15