Bug #94047

Fluid based page module: wrong behavior with defLangBinding

Added by Andreas Kiessling 6 months ago. Updated 15 days 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

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

Actions
#1

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

#2

Updated by Anja Leichsenring 2 months ago

  • Assignee set to Anja Leichsenring
#3

Updated by Anja Leichsenring 2 months ago

  • Assignee changed from Anja Leichsenring to Claus Due

configuration of my pageTS:

mod.web_layout {
defLangBinding = 1
allowInconsistentLanguageHandling = 0
}

#4

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

#5

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

#6

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

#7

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

#8

Updated by Anja Leichsenring about 1 month ago

  • Target version set to 11 LTS
#9

Updated by Andreas Kiessling about 1 month ago

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

Updated by Anonymous about 1 month ago

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

Updated by Alexander Opitz about 1 month ago

The backport to 10.4 is missing.

#12

Updated by Gerrit Code Review about 1 month 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

#13

Updated by Anonymous about 1 month ago

  • Status changed from Under Review to Resolved
#14

Updated by Benni Mack 15 days ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF