Bug #87614
closedHidden fields are not rendered for IRRE elements
100%
Description
When a record, that is rendered as inline relation, has some fields configured as hidden fields (renderType: hidden),
these fields will not be rendered.
This can e.g. be verified with an element which has tt_content as IRRE and colPos is configured as hidden field.
Updated by Gerrit Code Review almost 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/59605
Updated by Helmut Hummel over 5 years ago
Most simple way to reproduce with a plain core:
Set:
$GLOBALS['TCA']['sys_file_reference']['columns']['description']['config']['default'] = 'foo - hidden'; $GLOBALS['TCA']['sys_file_reference']['columns']['description']['config']['renderType'] = 'hidden';
The create an image content element and add an image and save.
Expectation would be that description of the created sys_file_reference element has the value "foo - hidden"
Actual result is, that description is empty
Updated by Gerrit Code Review over 5 years ago
Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59898
Updated by Gerrit Code Review over 5 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/c/Packages/TYPO3.CMS/+/59899
Updated by Helmut Hummel over 5 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 3f417d4e2e9bdf68027d6f31afcffb28cad95bdb.
Updated by Maik no-lastname-given almost 3 years ago
The patch works only for elements loaded the first time. If the record header is already there and the child content becomes fetched, the hidden field html is not included in the html output. Will create a pull request.
Updated by Helmut Hummel almost 3 years ago
Hm, strange. Could have sweared that it also worked for ajax loaded elements. Can you post the change url of your proposed change here as well? Thanks!
Updated by Georg Ringer almost 3 years ago
- Related to Bug #96781: Hidden fields are not rendered for existing IRRE elements added