Project

General

Profile

Actions

Bug #93792

closed

FormEngine placeholder fields not initialized on localize/synchronize

Added by Christian Kuhn over 3 years ago. Updated over 3 years ago.

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

100%

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

Description

tx_styleguide_inline_1n -> inline_1 -> input_3 TCA:

        'input_3' => [
            'exclude' => 1,
            'label' => 'input_3',
            'description' => 'placeholder=__row|input_1 mode=useOrOverridePlaceholder eval=null default=null',
            'config' => [
                'type' => 'input',
                'placeholder' => '__row|input_1',
                'eval' => 'null',
                'default' => null,
                'mode' => 'useOrOverridePlaceholder',
            ],
        ],

This creates one of those 'placeholder' input fields: A checkbox toggles a read-only input field with a not-read-only input field. This is especially used in FAL inline relations for title and description (allow to override these fields into the sys_file_reference field with a readonly fallback to sys_file_metadata.

Scenario:
  • Create styleguide data using the styleguide TCA/records interface with current styleguide master branch (this contains input_3 field).
  • edit translated german record on page 'inline 1n' and delete the inline _1 child.
  • save
  • see the 'shadowed' inline child, indicating that there is an element in default language, that has not yet been localized.
  • click 'Synchronize with original language' button.

-> The input_3 placeholder field dos not initialize, both readonly-input and non-readonly-input fields are rendered. see screenshot.


Files


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #93791: Inline synchronize/localize does not fully work with FALClosed2021-03-21

Actions
Actions #1

Updated by Christian Kuhn over 3 years ago

  • Related to Bug #93791: Inline synchronize/localize does not fully work with FAL added
Actions #2

Updated by Gerrit Code Review over 3 years ago

  • Status changed from New to Under Review

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/+/68527

Actions #3

Updated by Gerrit Code Review over 3 years ago

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/+/68530

Actions #4

Updated by Andreas Fernandez over 3 years ago

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

Updated by Benni Mack over 3 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF