Task #92971
Don't try to create language switch for non-persisted records
100%
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.
Updated by Gerrit Code Review about 2 months ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/66962
Updated by Sebastian Michaelsen about 2 months ago
- Subject changed from Early return in EditDocumentController->languageSwitch() to Don't try to create language switch for non-persisted records
Updated by Gerrit Code Review 19 days ago
Patch set 1 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67304
Updated by Anonymous 19 days ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 48fd54c4804321207544b025c91ebfe72181d44d.