Project

General

Profile

Actions

Bug #84564

closed

allowLanguageSynchronization translation behavior options missing for TCA type select with rendermode selectTree

Added by Torben Hansen about 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2018-03-30
Due date:
% Done:

100%

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

Description

When you have a TCA select item which shows a tree (e.g. a category tree) and you enable allowLanguageSynchronization for the field, the translation behavior options (see screenshot below) are missing in the localized record. The tree is visually not readonly (editor can still select/deselect items), but changes are not saved.

The main feature of allowLanguageSynchronization (using the value of the default record) works fine, but an editor can't select a custom value, since the translation behavior options are missing.


Files


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #84976: Proper dom in TCA select treeClosed2018-05-12

Actions
Actions #1

Updated by Gerrit Code Review about 6 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/56487

Actions #2

Updated by Torben Hansen about 6 years ago

I created this https://github.com/derhansen/test_category small extension in order to test/review the patch

Actions #3

Updated by Sybille Peters about 6 years ago

I'm a little confused: In your sample extension, you are using a field 'category' in the TCA, but 'category' is missing in columns. Not sure how to test this.

Actions #4

Updated by Torben Hansen about 6 years ago

Thema field category is automatically added to TCA by TYPO3\CMS\Core\Utility\ExtensionManagementUtility::makeCategorizable in TCA overrides.

Actions #5

Updated by Gerrit Code Review about 6 years ago

Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56905

Actions #6

Updated by Torben Hansen about 6 years ago

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

Updated by Christian Kuhn about 6 years ago

  • Related to Bug #84976: Proper dom in TCA select tree added
Actions #8

Updated by Gerrit Code Review about 6 years ago

  • Status changed from Resolved to Under Review

Patch set 2 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56905

Actions #9

Updated by Christian Kuhn about 6 years ago

  • Status changed from Under Review to Resolved
Actions #10

Updated by Torben Hansen almost 6 years ago

The backport for TYPO3 8.7 is missing the following code in the class \TYPO3\CMS\Backend\Form\Element\SelectTreeElement:

    /**
     * @var array Default wizards
     */
    protected $defaultFieldWizard = [
        'localizationStateSelector' => [
            'renderType' => 'localizationStateSelector',
        ],
    ];

Therefore, the Localization State selector is still not rendered for the category tree in TYPO3 8.7

Actions #11

Updated by Gerrit Code Review almost 6 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57826

Actions #12

Updated by Torben Hansen almost 6 years ago

  • Status changed from Under Review to Resolved
Actions #13

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF