Project

General

Profile

Actions

Task #92971

closed

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

Added by Sebastian Michaelsen almost 4 years ago. Updated over 3 years ago.

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 #1

Updated by Sebastian Michaelsen almost 4 years ago

  • Description updated (diff)
Actions #2

Updated by Gerrit Code Review almost 4 years 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

Actions #3

Updated by Sebastian Michaelsen almost 4 years ago

  • Subject changed from Early return in EditDocumentController->languageSwitch() to Don't try to create language switch for non-persisted records
Actions #4

Updated by Sebastian Michaelsen almost 4 years ago

  • Description updated (diff)
Actions #5

Updated by Gerrit Code Review almost 4 years 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

Actions #6

Updated by Anonymous almost 4 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #7

Updated by Benni Mack over 3 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF