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 changed category 02/10/25, 07:30

  2. Gerrit Code Review pushed patch set 1 for main to change 88137 status New Under Review 02/10/25, 15:05

  3. Garvin Hicking commented 02/10/25, 15:06

    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.

  4. Gerrit Code Review pushed patch set 1 for 13.4 to change 88163 02/11/25, 08:35

  5. Gerrit Code Review pushed patch set 1 for 12.4 to change 88164 02/11/25, 08:35

  6. Garvin Hicking commented and changed status Under Review Resolved done 0 % 100 % 02/11/25, 11:30

    Applied in changeset commit:fdbc4a5fecde74ca3a4ab12b6e2b396f958c05c3.

  7. Benni Mack changed status Resolved Closed 12/02/25, 14:27