Actions
Bug #93703
openHaving an unused content element in Page module using the language mode and deflangbinding crashes the backend
Status:
Accepted
Priority:
Must have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2021-03-11
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Setup¶
- Activate
mod.web_layout.defLangBinding = 1
- Create a backend layout with some columns
- Create another backend layout with columns with other colPos ids.
- Create a page using one of the backend layouts
- Create a translation of the page (e.g. Russian)
- Create a content element in Russian (no default needed)
- Change the backend layout of the page to the other layout
=> The created content element is now "unused" in terms of not being assigned to a valid colPos in this backend layout.
Problem¶
The page module throws a PHP error:
TYPO3\CMS\Backend\View\PageLayoutView line 858$this->checkIfTranslationsExistInLanguage($defaultLanguageElementsByColumn[$cKey], $languageId)
where $defaultLanguageElementsByColumn[$cKey]
is null.
Updated by Markus Klein about 3 years ago
- Related to Bug #93211: New fluid based page module does not show translated languages added
Updated by Markus Klein about 3 years ago
- Related to Bug #81753: Content element translations dissapear in page module after move to another column added
Actions