#109378FileProcessor throws an exception when using references.data = levelmedia: -1, if the page record contains a hidden file reference in the media field.
Description
I have configured a FilesProcessor as follows:
dataProcessing {
20 = files
20 {
as = pageMedia
references.data = levelmedia: -1
}
}
The page on which this plugin is rendered contains two file references in the media field, one of which is hidden = 1, the other is hidden = 0.
Rendering this plugin throws an Exception (TYPO3\CMS\Core\Resource\Exception\ResourceDoesNotExistException) – inspecting the call stack revealed that this is from the FileCollector Call in https://github.com/TYPO3/typo3/blob/13.4/typo3/sysext/frontend/Classes/DataProcessing/FilesProcessor.php line 67. Using Xdebug, I found that the $referencesUidList returned by ContentObjectRenderer::stdWrapValue in line 65 returns both the uid of the hidden file reference and the not-hidden file reference. I believe that this behavior is not correct.
I’ve described this issue in more detail in a forum post: https://talk.typo3.org/t/using-filesprocessor-to-pass-page-media-to-template-throws-exception-when-page-has-hidden-images/6649
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Related issues 1
History 4
-
Leonie Krenzer commented <span data-processor="relativetime" data-value="2026-03-26T10:16:10+00:00" > 03/26/26, 10:16 </span>
-
Leonie Krenzer changed Related to #56150 <span data-processor="relativetime" data-value="2026-03-26T10:16:58+00:00" > 03/26/26, 10:16 </span>
-
Georg Ringer commented and changed status
NewClosed <span data-processor="relativetime" data-value="2026-08-16T12:08:41+00:00" > 08/16/26, 12:08 </span>closing as duplicate of #109710
-
Georg Ringer changed Duplicates #109710 <span data-processor="relativetime" data-value="2026-08-16T12:08:47+00:00" > 08/16/26, 12:08 </span>
Mathias suggested, that this issue might be linked to this older issue:
https://forge.typo3.org/issues/56150