Bug #104388
openLevelmedia + FILES cObject results in fatal error for hidden/deleted file references
0%
Description
This is a follow-up to #82844 because not all issues with hidden file references in workspaces have been resolved for TYPO3 11 and 12.
Problem is having workspace-deleted (t3ver_state=2) or hidden=1 file reference in a draft workspace is throwing an exception when previewing that page in draft preview:
No file reference (sys_file_reference) was found for given UID: "40907"
That can be reproduced with both renderers cObject FILES and FilesProcessor:
page.10 { variables.files = FILES variables.files.references.data = levelmedia:-1,slide dataProcessing.10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor dataProcessing.10.references.data = levelmedia:-1,slide }
Files
Updated by Philipp Kitzberger 6 months ago
- Subject changed from Workspaces + Levelmedia + FILES cObject results still in fatal error to Workspaces + Levelmedia + FILES cObject results in fatal error for hidden/deleted file references
Updated by Philipp Kitzberger 6 months ago
- Due date set to 2017-10-24
- Start date changed from 2024-07-13 to 2017-10-24
- Follows Bug #82844: Workspaces + Levelmedia + FILES cObject results in fatal error added
Updated by Jo Hasenau about 1 month ago
- File clipboard-202412201604-xt6bz.png clipboard-202412201604-xt6bz.png added
- Subject changed from Workspaces + Levelmedia + FILES cObject results in fatal error for hidden/deleted file references to Levelmedia + FILES cObject results in fatal error for hidden/deleted file references
- Status changed from New to Accepted
I can confirm that behaviour, but not just within Workspaces. As soon as there is a hidden file reference in the list of sys_file_reference IDs, the FilesProcessor will fail with an exception, because the resourceFactory involved via FileCollector will not find any fileReferenceData.
Updated by Jo Hasenau about 1 month ago
- Due date deleted (
2017-10-24) - Start date deleted (
2017-10-24)