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

report/log/index.php is pretty broken for mnet logs

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.6, 2.7
    • Fix Version/s: None
    • Component/s: Logging, MNet, Reports
    • Labels:
      None
    • Difficulty:
      Moderate
    • Affected Branches:
      MOODLE_22_STABLE, MOODLE_27_STABLE

      Description

      Whilst debugging MDL-36640 I've been trying to test the mnet log report but it's somewhat broken.

      • Set up a new moodle MNet peer
      • From the Networking -> Peers -> [Peer Name] page select the 'Logs' tab
      • See it go bang

      It looks like it doesn't behave well when the mnet_log table is empty (which it is initially).


      Edited: in 2.7 the error message does not appear but logs are displayed incorrectly. See comments below.

        Attachments

        1. some_logs.png
          some_logs.png
          261 kB
        2. no_logs.png
          no_logs.png
          282 kB

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: