Actions
Task #92971
closedDon't try to create language switch for non-persisted records
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2020-12-01
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
EditDocumentController->languageSwitch()
generates the language dropdown menu in the backend record edit form.
When creating a new record, the result is always that no dropdown form is displayed.
However also for new records the function performs DB queries and runs a lot of code. Instead it should not be called in this case.
Actions