Project

General

Profile

Actions

Bug #105341

open

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

Added by Dirk Sch. 13 days ago. Updated 13 days ago.

Status:
Accepted
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2024-10-18
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
13
PHP Version:
8.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

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">
<f:image image="{image}" />
</f:for>

will fail.


Files

Backend.gif (1.04 MB) Backend.gif Dirk Sch., 2024-10-18 09:20
Actions

Also available in: Atom PDF