Issue Bug New Orphaned

#89141Filelist renaming a folder does not update related fields from TCA configs with new name

Joerg Boesche 09/11/19, 08:38 updated 09/11/19, 08:38

Description

Renaming a folder in the FAL list (Filelist) does not update related fields from TCA config with the new folder name. Old folder names are retained and lead to exceptions in the output in the frontend.

There are two possibilities to define folder links with the TCA config.

'config' => [
                'type' => 'input',
                'renderType' => 'inputLink',
                'size' => 50,
                'max' => 1024,
                'eval' => 'trim',
                'fieldControl' => [
                    'linkPopup' => [
                        'options' => [
                            'blindLinkFields' => 'class,target,title',
                            'blindLinkOptions' => 'mail,url,page,file'
                        ],
                    ],
                ],
                'softref' => 'typolink'
            ]
 'config' => [
                'type' => 'group',
                'internal_type' => 'folder',
                'size' => 1,
                'maxItems' => 1,
                'softref' => 'typolink'
            ]

*Expected behavior:*
If a folder in the FAL filelist is renamed, moved or deleted, all related TCA config fields getting involved in the changes.

Reviews 0

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

Fix this issue

Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch

Commit message
[BUGFIX] Filelist renaming a folder does not update related fields from TCA configs with new name Resolves: #89141 Releases: main