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

Ad hoc tasks trigger "dynamic property deprecation" in PHP 8.2

XMLWordPrintable

    • MOODLE_402_STABLE, MOODLE_403_STABLE
    • MOODLE_402_STABLE, MOODLE_403_STABLE
    • MDL-79975-403
    • Hide

      Note: This one needs to be tested with PHP 8.2

      1. Login as admin.
      2. Navigate to Site Administration and enable enableasyncbackup (checked).
      3. Create a course or use an existing one.
      4. Navigate to that course -> More -> Course reuse.
      5. Change the tertiary navigation to Backup.
      6. Click Jump to final step button.
      7. Verify that you will see The backup process is pending (This will make sure that the backup process is using an Ad-hoc task).
      8. Navigate Site Administration / Server / Ad-hoc tasks.
      9. Verify that you will see asynchronous_backup_task.
      10. Verify that you will not see any deprecation message related to $class property.
      11. Use browser developer tools to inspect the asynchronous_backup_task table cell
      12. Confirm it has the following classes:

        task-class-summary text-ltr
        

      Show
      Note : This one needs to be tested with PHP 8.2 Login as admin. Navigate to Site Administration and enable enableasyncbackup (checked). Create a course or use an existing one. Navigate to that course -> More -> Course reuse. Change the tertiary navigation to Backup. Click Jump to final step button. Verify that you will see The backup process is pending  (This will make sure that the backup process is using an Ad-hoc task). Navigate Site Administration / Server / Ad-hoc tasks. Verify that you will see asynchronous_backup_task. Verify that you will not see any deprecation message related to $class property. Use browser developer tools to inspect the asynchronous_backup_task table cell Confirm it has the following classes: task-class-summary text-ltr
    • 1
    • Team Hedgehog 2023 Sprint 4.1

      Navigate to Site Administration / Server / Ad-hoc tasks trigger the following error:

      Deprecated: Creation of dynamic property html_table_cell::$class is deprecated in /admin/tool/task/renderer.php on line 85

            pholden Paul Holden
            huongn@moodle.com Huong Nguyen
            Huong Nguyen Huong Nguyen
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h

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