Bug #87614
closed
Hidden fields are not rendered for IRRE elements
Added by Helmut Hummel almost 6 years ago.
Updated almost 3 years ago.
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.
- Status changed from New to Under Review
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
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
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.
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!
- Related to Bug #96781: Hidden fields are not rendered for existing IRRE elements added
Also available in: Atom
PDF