Issue Bug Closed

#94049NewRecordController does not fetch group label from Extension Configuration when NOT using LLL labels

S P 05/04/21, 07:15 updated 10/04/22, 14:12

Description

The NewRecordController (roughly line number 700+ in method renderNewRecordControls()) fetches the group label by parsing the LLL identifier and falling back to the title in ext_emconf.php. However there are cases when no LLL file is used.

The fallback to the title in $ext_emconf.php should happen in any case, whether a LLL file was used or not. When no LLL identifier was used currently only the extension key is used directly.

To always check ext_emconf.php is possible because the extension key is derived from the table name anyways. So it can be looked up in any case when no suitable label was found, not just in the case when LLL was used.

Discovered in v9, but true for all later as well.

Reviews 1