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

Send_notification event log causes errors after migration

    XMLWordPrintable

Details

    • MOODLE_400_STABLE, MOODLE_401_STABLE, MOODLE_402_STABLE
    • MOODLE_401_STABLE, MOODLE_402_STABLE
    • MDL-78918-401
    • MDL-78918-402
    • MDL-78918-master
    • Hide
      1. Execute the following SQL, to create a send_notification event log into the mdl_task_log table:

        INSERT INTO mdl_task_log (type, component, classname, userid, timestart, timeend, dbreads, dbwrites, result, output)
        VALUES (1, 'mod_bigbluebuttonbn', 'mod_bigbluebuttonbn\task\send_notification', 2, 1692986061.1220000000, 1692986071.5915000000, 16, 5, 0, 'Execute adhoc task: mod_bigbluebuttonbn\task\send_notification\n... started 11:54:21. Current memory …');

      2. Logged in as admin, go to Site administration > Server > Tasks > Task logs.
      3. Ensure that the logs can be viewed and no error is displayed.
      Show
      Execute the following SQL, to create a send_notification event log into the mdl_task_log table: INSERT INTO mdl_task_log (type, component, classname, userid, timestart, timeend, dbreads, dbwrites, result, output) VALUES ( 1 , 'mod_bigbluebuttonbn' , 'mod_bigbluebuttonbn\task\send_notification' , 2 , 1692986061.1220000000 , 1692986071.5915000000 , 16 , 5 , 0 , 'Execute adhoc task: mod_bigbluebuttonbn\task\send_notification\n... started 11:54:21. Current memory …' ); Logged in as admin, go to Site administration > Server > Tasks > Task logs . Ensure that the logs can be viewed and no error is displayed.

    Description

      The logging of send_notification event was done differently in BBB v2.4, which causes an error after migration to 4.x.

       

      To replicate, create send_notification logs in the mdl_task_log in v2.4 and perform an upgrade. Try and access the task logs, the error is shown.

       

      Attachments

        1. image.png
          image.png
          431 kB
        2. image-2023-08-31-18-04-17-493.png
          image-2023-08-31-18-04-17-493.png
          41 kB
        3. MDL-78918.png
          MDL-78918.png
          479 kB

        Issue Links

          Activity

            People

              shamiso.jaravaza Shamiso Jaravaza
              shamiso.jaravaza Shamiso Jaravaza
              Laurent DAVID Laurent DAVID
              Sara Arjona (@sarjona) Sara Arjona (@sarjona)
              Ron Carl Alfon Yu Ron Carl Alfon Yu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 24 minutes
                  1h 24m

                  Clockify

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