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

Windows PHPUnit mod_resource\generator_test::test_generator errors

XMLWordPrintable

      Starting the 6th of February 2023, we are getting one consistent failure in all the Windows PHPUnit executions (Moodle 3.9 to 4.2dev, it seems).

      Examples:

      In all branches, the error is the same (this is master's one):

      There was 1 error:
       
      1) mod_resource\generator_test::test_generator
      file_exception: Unknown exception related to local files (Invalid file path)
       
      D:\a\moodle\moodle\lib\filestorage\file_storage.php:1422
      D:\a\moodle\moodle\mod\resource\tests\generator\lib.php:96
      D:\a\moodle\moodle\mod\resource\tests\generator_test.php:69
      D:\a\moodle\moodle\lib\phpunit\classes\advanced_testcase.php:80
      

            stronk7 Eloy Lafuente (stronk7)
            stronk7 Eloy Lafuente (stronk7)
            Glyn (Mathew) May Glyn (Mathew) May
            Jun Pataleta Jun Pataleta
            CiBoT CiBoT
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 hours, 30 minutes
                5h 30m

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