Issue Task Closed

#92971Don't try to create language switch for non-persisted records

Sebastian Michaelsen 12/01/20, 14:57 updated 02/23/21, 13:13

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.

Reviews 2