88594[BUGFIX] Prevent fetching hidden FileReferences in frontend
Commit message
Review
-
Code review CR 0
-
Verified V 0
Issues 1
Files 4
- typo3/sysext/core/Classes/Resource/FileRepository.php+22 −13
- typo3/sysext/frontend/Classes/Resource/FileCollector.php+4 −3
- typo3/sysext/frontend/Tests/Functional/ContentObject/DataSet/FilesContentObjectDataSet.csv+18 −17
- typo3/sysext/frontend/Tests/Functional/ContentObject/FilesContentObjectTest.php+3 −0
Review log 45
-
Garvin Hicking uploaded patch set 1 03/14/25, 21:18
-
core-ci voted on patch set 1 V +1 03/14/25, 21:26 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/75615
-
Garvin Hicking marked it work in progress 03/14/25, 21:29
-
Garvin Hicking commented on patch set 1 CR -1 03/14/25, 21:29
This is not right yet. ``` $queryBuilder->setRestrictions(GeneralUtility::makeInstance(FrontendRestrictionContainer::class)); ``` actually already sets `hidden=0` restriction. -
Garvin Hicking abandoned the change 03/14/25, 22:49
Barking up the wrong tree. See issue for the actual reason.