Project

General

Profile

Actions

Bug #106139

closed

Not displayed references in fileadmin

Added by Jan-Niklas Rönz about 1 month ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2025-02-10
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.1
Tags:
Complexity:
trivial
Is Regression:
Sprint Focus:

Description

In Fileadmin, when displayed references are shown, clicking on the reference number sometimes results in no references being displayed.

This issue occurs because, if a garbage collection scheduler task is active, deleted references are removed.

In the ElementInformationController class, at line 560, the function returns an empty array if a single reference cannot be found. As a result, all other valid references are not displayed.

Suggested Fix:
Instead of returning an empty array, the function should skip missing references and continue processing the remaining ones. I suggest replacing the return statement with a continue statement.

Actions #1

Updated by Garvin Hicking about 1 month ago

  • Category set to Backend User Interface
Actions #2

Updated by Gerrit Code Review about 1 month ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/88137

Actions #3

Updated by Garvin Hicking about 1 month ago

Thanks a lot for the report and the proposed fix, which sounds good. Maybe you can check out the patch in which I've applied your suggestions.

Actions #4

Updated by Gerrit Code Review about 1 month ago

Patch set 1 for branch 13.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/88163

Actions #5

Updated by Gerrit Code Review about 1 month ago

Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/88164

Actions #6

Updated by Garvin Hicking about 1 month ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF