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

Creating chat activity via data generator doesn't rebuild course caches properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: Minor Minor
    • None
    • 4.5.2
    • Chat
    • MOODLE_405_STABLE

      Following simple test is failing in Moodle 4.5

          /**
           * Test chat activity generator.
           */
          public function test_export_generator(): void {
              $this->resetAfterTest();
              $generator = $this->getDataGenerator();
       
              $course = $generator->create_course();
              $chat = $generator->create_module('chat', ['course' => $course]);
       
              $modinfo = get_fast_modinfo($course);
       
              $this->assertCount(1, $modinfo->get_cms());
          }
      

      All others core activity types seem to be ok.

            Unassigned Unassigned
            dmitriim Dmitrii Metelkin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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