Project

General

Profile

Actions

Bug #52245

closed

Revert BackendUtility::BEenableFields in FAL

Added by Fabien Udriot over 10 years ago. Updated over 10 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
Start date:
2013-09-25
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
medium
Is Regression:
No
Sprint Focus:

Description

Quite recently, in https://review.typo3.org/#/c/23742/, method
BackendUtility::BEenableFields was introduced in FAL.

This has a drawback for third party extensions which are introducing
additional enabledFields for a File. As instance, Media has the "hidden"
flag enabled. Consequently, FAL is not anymore capable of finding a
File that has hidden = 1 ; $fileRepository->findByUid(123) is raising
exception #1314354065 whenever file "123" is marked as hidden.

Since we don't have Query Settings like in Extbase, the patch
removes this constraint following the List module practice which
displays all records except the deleted ones.

Releases: 6.0, 6.1, 6.2
Fixes: #52236


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #51562: sys_file records marked as deleted crash file list (AKA: remove sys_file.deleted flag)ClosedErnesto Baschny2013-08-30

Actions
Actions

Also available in: Atom PDF