Extension tables is messing up on New Record screen
Extension tables is messing up (tables being shown in wrong extensions) on New Record screen in case if table title defined as plain string and not as LLL label
It is because script tries to extract extension name from table LLL title, and if no extension name there (not LLL label) then extension title from previous table used (wrongly)
(issue imported from #M15591)
[BUGFIX] Support for static table titles in new record wizard
With a static table name the extension key is not updated which sets a
wrong table title for the extension before. This patch resolves table
title from configuration with a fallback to table name part and sets
group name and extension key. This helps to prevent any conflict between
Reviewed-by: Vladimir Podkovanov
Reviewed-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
#7 Updated by Vladimir Podkovanov over 5 years ago
On Patch Set 2, shouldn't be made same change ($_EXTKEY = $nameParts1) in previous else-branch too? Please see original patch in the bug tracker.
If there are several tables with label starting with 'LLL:EXT:' but with empty ext key, it seems that these tables would be messed up too, because of same key (empty string) in $this->tRows.