Project

General

Profile

Actions

Bug #94047

closed

Fluid based page module: wrong behavior with defLangBinding

Added by Andreas Kiessling almost 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Backend User Interface
Target version:
Start date:
2021-05-03
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #94568: defLangBinding breaks web_layoutClosed2021-07-16

Actions
Actions #1

Updated by Anja Leichsenring over 2 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.

Actions #2

Updated by Anja Leichsenring over 2 years ago

  • Assignee set to Anja Leichsenring
Actions #3

Updated by Anja Leichsenring over 2 years ago

  • Assignee changed from Anja Leichsenring to Claus Due

configuration of my pageTS:

mod.web_layout {
defLangBinding = 1
allowInconsistentLanguageHandling = 0
}

Actions #4

Updated by Gerrit Code Review over 2 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

Actions #5

Updated by Gerrit Code Review over 2 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

Actions #6

Updated by Gerrit Code Review over 2 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

Actions #7

Updated by Gerrit Code Review over 2 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

Actions #8

Updated by Anja Leichsenring over 2 years ago

  • Target version set to 11 LTS
Actions #9

Updated by Andreas Kiessling over 2 years ago

  • Related to Bug #94568: defLangBinding breaks web_layout added
Actions #10

Updated by Anonymous over 2 years ago

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

Updated by Alexander Opitz over 2 years ago

The backport to 10.4 is missing.

Actions #12

Updated by Gerrit Code Review over 2 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

Actions #13

Updated by Anonymous over 2 years ago

  • Status changed from Under Review to Resolved
Actions #14

Updated by Benni Mack over 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF