Issue Bug Closed

#106139Not displayed references in fileadmin

Jan-Niklas Rönz 02/10/25, 07:15 updated 12/02/25, 14:27

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.

Reviews 3

History 47

  1. Garvin Hicking commented <span data-processor="relativetime" data-value="2025-02-10T15:06:53+00:00" > 02/10/25, 15:06 </span>

    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.

  2. Garvin Hicking commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2025-02-11T11:30:12+00:00" > 02/11/25, 11:30 </span>

    Applied in changeset commit:fdbc4a5fecde74ca3a4ab12b6e2b396f958c05c3.