Issue Bug Closed

#107147TCA inline calls label_userFunc too often

Thomas Rokohl 07/25/25, 15:08 updated 11/09/26, 18:28

Description

If an inline relation has in an sub element with a label_userFunc, the label_userFunc is called for each element in the client table during rendering, even if it is not assigned.

...
    'children' => [
      'exclude' => true,
      'label' => 'test',
      'config' => [
        'type' => 'inline',
        'foreign_table' => 'tx_mycompany_domain_model_childtable',
        'foreign_field' => 'parent',

      ],
    ],
...
...
return [
  'ctrl' => [
    'title' => 'childtable',
    'label' => 'name',
    'label_userFunc' => \MyCompany\MyExtension\UserFunctions\Label::class . '->generate',
...

This leads to the backend becoming very slow with large amounts of data.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 8

  1. Maxime Lafontaine commented <span data-processor="relativetime" data-value="2025-09-11T02:08:53+00:00" > 09/11/25, 02:08 </span>

    Even just the label, if the field is a select to a database (n:1), it can become REALLY slow

  2. Georg Ringer commented and changed status New Needs Feedback <span data-processor="relativetime" data-value="2026-09-28T20:16:43+00:00" > 09/28/26, 20:16 </span>

    probably fixed with #81036 in v14, can you please check if this is fixed for you in v14

  3. Alexander Schnitzler commented <span data-processor="relativetime" data-value="2026-10-17T09:38:20+00:00" > 10/17/26, 09:38 </span>

    I think this is a FormEngine topic like the related task. If you think differently and this is indeed related to Extbase, I would need more information.

  4. Benni Mack commented and changed status Needs Feedback Closed <span data-processor="relativetime" data-value="2026-11-09T18:28:22+00:00" > 11/09/26, 18:28 </span>

    1. and #81036 landed in v14.x which made a huge difference in the issues you mentioned. Please let me know if you still have this problem.