Project

General

Profile

Actions

Bug #95997

closed

levelmedia not working with TYPO3 11.5.3 and disabled file relations

Added by Simon Würstle over 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2021-11-16
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
8.0
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

Since TYPO3 version 11.5.3 "levelmedia" is not working anymore if there are disabled file relations in pages.media.

Example code:

foo = FILES
foo.references.data = levelmedia:-1

Error message:

(1/1) #1317178794 TYPO3\CMS\Core\Resource\Exception\ResourceDoesNotExistException
No file reference (sys_file_reference) was found for given UID: "53" 

If you delete the disabled file relations it works. It also works with following TS code:

references {
  table = pages
  fieldName = media
  uid.data = page:uid
}
Actions

Also available in: Atom PDF