Issue Bug Closed

#79619columnsOverride collapsed in sys_file_reference not working

Ruud Silvrants 02/03/17, 16:22 updated 06/26/17, 14:13

Description

When using columnsOverride in the TCA for the field sys_file_reference my field or palette is not displaying when opening a content element containing an sys_file_reference which is collapsed.
When opening the content element where the image is ‘open’ the fields are displaying correct.

Reproduce by:
- Add tca for columnsoverride:

$GLOBALS['TCA']['tt_content']['types']['pizza']['columnsOverrides'] = [
        'image' => [
            'config' => [
                // custom configuration for displaying fields in the overlay/reference table
                // to use the newsPalette and imageoverlayPalette instead of the basicoverlayPalette
                'foreign_types' => [
                    '0' => [
                        'showitem' => '
                        --palette--;;myPizzaPalette,
                        --palette--;;imageoverlayPalette,
                        --palette--;;filePalette'
                    ],
                   //other foreign_types
                ]
            ]
        ]
    ];

- Create a new content element and add sys_file_reference
- Collapse the reference
- Close the element
- Open the element
- Open the reference
- myPizzaPalette is invisible
- When you reload the frame, the fields of myPizzaPalette is visible again

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.