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

Log entries of user messages indicates wrong table affected

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: Minor Minor
    • 1.9.2
    • 1.9.1
    • Messages
    • None
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE

      the mtable entry of log_display should indicate which table is affected by the users action. In the case of messages, the table indicated is user, but it is actually message, message_contacts, or message_read.

      Attached is a patch for the way it should be in /lib/db/install.xml. A better way is to probably make it an update script so it corrects old installations, but this file indicates the correct tables.

      Similar to MDL-15610.

      There are some other minor issues in these tables. For example, glossary add entry affects the glossary_entries table, not the glossary table, but this one and the label one are the most inaccurate.

            stronk7 Eloy Lafuente (stronk7)
            ganderson Gary Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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