Moodle
  1. Moodle
  2. MDL-11525

log page Site errors collums give wrong information

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.2
    • Fix Version/s: 1.9
    • Component/s: Administration
    • Labels:
      None
    • URL:
      moodle/course/report/log/index.php?chooselog=1&showusers=0&showcourses=1&host_course=1%2F1&user=0&date=0&modid=site_errors&modaction=0&logformat=showashtml
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      The titles of the columns on this page, don't correspond with the contents.
      eg
      column course lists usernames
      column Full name is empty
      column information lists usernames too

        Gliffy Diagrams

          Activity

          Hide
          Martin Dougiamas added a comment -

          Nicolas, can you look into this please?

          Show
          Martin Dougiamas added a comment - Nicolas, can you look into this please?
          Hide
          Nicolas Connault added a comment -

          From what I can understand of the code so far, the main reason for this data is that the selected log entries DO NOT have a userid nor a courseid recorded. The reason is simple: these are all login errors: not associated with any specific user, not associated with any specific course.

          The column Course lists usernames and that is a mistake, it will be fixed
          The column Full name is empty: normal, there was a login error so the user could not be identified
          The column Information shows usernames: they are simply the usernames that were entered in the login form

          Show
          Nicolas Connault added a comment - From what I can understand of the code so far, the main reason for this data is that the selected log entries DO NOT have a userid nor a courseid recorded. The reason is simple: these are all login errors: not associated with any specific user, not associated with any specific course. The column Course lists usernames and that is a mistake, it will be fixed The column Full name is empty: normal, there was a login error so the user could not be identified The column Information shows usernames: they are simply the usernames that were entered in the login form
          Hide
          Nicolas Connault added a comment -

          When courseid is not present in the log entry, showing "Site" instead of $log->info

          The other columns are displaying the correct information

          Show
          Nicolas Connault added a comment - When courseid is not present in the log entry, showing "Site" instead of $log->info The other columns are displaying the correct information

            People

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

              Dates

              • Created:
                Updated:
                Resolved: