Bug #93792
closedFormEngine placeholder fields not initialized on localize/synchronize
100%
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
Updated by Christian Kuhn over 3 years ago
- Related to Bug #93791: Inline synchronize/localize does not fully work with FAL added
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
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
Updated by Andreas Fernandez over 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 3db4e3e96daa3db8787f08e25e2495d6bb88f60d.