Project

General

Profile

Actions

Bug #79619

closed

columnsOverride collapsed in sys_file_reference not working

Added by Ruud Silvrants about 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2017-02-03
Due date:
% Done:

0%

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

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


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Feature #76671: columnsOverrides does not affect newly added inline elementsClosed2016-06-17

Actions
Actions #1

Updated by Christian Kuhn about 7 years ago

Yes, you can not override child tca from parent tca's columnsOverrides. This will hardly change soon.

Actions #2

Updated by Christian Kuhn about 7 years ago

  • Status changed from New to Closed

closing as dupe of #76671

Actions #3

Updated by Tymoteusz Motylewski almost 7 years ago

seems the documentation is wrong then
https://docs.typo3.org/typo3cms/TCAReference/8-dev/ColumnsConfig/Type/Inline.html#overridechildtca

It is allowed to use this property within the columnsOverrides property of an inline parent in the ['types'] section.
Actions

Also available in: Atom PDF