#111098FileRepositoryTest fails: fixture imports removed sys_file_storage table
Description
Problem
Since the nightly pipeline https://git.typo3.org/typo3/CI/cms/-/pipelines/111299 on main (12f550a8442), all functional jobs that run TYPO3\CMS\Core\Tests\Functional\Resource\FileRepositoryTest fail on every DBMS (sqlite, mysql, mariadb, postgres). All 14 tests of the class error out in setUp() while importing the CSV fixture:
Error: Call to a member function getType() on null typo3/testing-framework/Classes/Core/Functional/Framework/DataHandling/DataSet.php:88 typo3/sysext/core/Tests/Functional/Resource/FileRepositoryTest.php:42 Warning: Undefined array key "uid"
Steps to reproduce
- Check out main at 12f550a8442 or later
- Run CI=true ./Build/Scripts/runTests.sh -s functional -d sqlite typo3/sysext/core/Tests/Functional/Resource/FileRepositoryTest.php
Cause
Two changes were merged independently, each green on its own:
- #110762 (Configure file storages in a file, not the database) removed the table
sys_file_storage. - #111004 (Avoid refetching frontend file references) added
Tests/Functional/Resource/Fixtures/FileRepository.csv, which still contains asys_file_storageblock. Its CI ran on a base before the table was removed.
The fixture import therefore targets a table that no longer exists. The storage record was never used by the tests anyway: the only sys_file row lives in the fallback storage 0.
Suggested fix
--- a/typo3/sysext/core/Tests/Functional/Resource/Fixtures/FileRepository.csv
+++ b/typo3/sysext/core/Tests/Functional/Resource/Fixtures/FileRepository.csv
@@ -1,6 +1,3 @@
-"sys_file_storage"
-"","uid","name","driver","configuration","is_online","is_public","is_browsable","is_writable"
-"","1","Local","Local","","1","1","1","1"
"sys_file"
"","uid","storage","identifier","name"
"","1","0","/test.jpg","test.jpg"Reviews 1
History 12
-
Gerrit Code Review pushed patch set 1 for main to change 96748 status
NewUnder Review <span data-processor="relativetime" data-value="2026-10-16T09:12:58+00:00" > 10/16/26, 09:12 </span> -
Benjamin Kott commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2026-10-16T09:25:17+00:00" > 10/16/26, 09:25 </span>
Applied in changeset commit:57012b6c8469172f859084b8fa563d193de6fd58.