Bug #94047
closedFluid based page module: wrong behavior with defLangBinding
100%
Description
Prerequisite TSconfig: mod.web_layout.defLangBinding = 1
TYPO3 is running in version 10.4.15
If defLangBinding is activated, the first "+ Content" link in a translated column is created with sys_language_uid = 0, not with the one that maps to that column.
Buttons that are created after an existing record do have the right sys_language_uid set that are forwarded to the wizard defValues.
\TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumn::getNewContentUrl creates wrong links in that case, $this->context->getSiteLanguage()->getLanguageId() returns always 0
I'm not really sure about the proper behavior of that setting judging from the documentation: https://docs.typo3.org/m/typo3/reference-tsconfig/master/en-us/PageTsconfig/Mod.html#deflangbinding
The old page module removes the buttons to add content in connected mode, whereas the fluid page module keeps them
Updated by Anja Leichsenring over 3 years ago
same here, the buttons must not be visible in connected mode at all, no matter what language the translation is in.
Without the defLangBinding setting, it is not visible.
Updated by Anja Leichsenring over 3 years ago
- Assignee changed from Anja Leichsenring to Claus Due
configuration of my pageTS:
mod.web_layout {
defLangBinding = 1
allowInconsistentLanguageHandling = 0
}
Updated by Gerrit Code Review about 3 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/+/70718
Updated by Gerrit Code Review about 3 years ago
Patch set 2 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/+/70718
Updated by Gerrit Code Review about 3 years ago
Patch set 3 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/+/70718
Updated by Gerrit Code Review about 3 years ago
Patch set 4 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/+/70718
Updated by Andreas Kießling about 3 years ago
- Related to Bug #94568: defLangBinding breaks web_layout added
Updated by Anonymous about 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset f1a7c540c6620da36ed4530850452e4f4948a2de.
Updated by Gerrit Code Review about 3 years ago
- Status changed from Resolved to Under Review
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/+/71048
Updated by Anonymous about 3 years ago
- Status changed from Under Review to Resolved
Applied in changeset 3dc9151d6aa0d4a7817fafa62720886ee611c140.