Issue Bug Closed

#105341Unable to hide media resources in page properties (media) if more than one

Dirk Sch. 10/18/24, 04:04 updated 03/14/25, 22:41

Description

If more than one media resource exists on a page, it is not possible to hide e.g. the second media file.

If you upgrade any existing TYPO3 12 installation to 13 LTS with hidden media resources, the output of files fails with “No file reference (sys_file_reference) was found for given UID: xy”.

How to reproduce:

On a fresh TYPO3 13 installation add a page, add 2 media resources in page properties and try to disable the second.
On existing installations set one file resource in table “sys_file_reference” with same pid to hidden,

<f:for each="{images}" as="image"><br> <f:image image="{image}"></f:image><br></f:for>

will fail.

Reviews 1