Project

General

Profile

Actions

Bug #74003

closed

Renaming folders can break records with internal_type "folder"

Added by Teamgeist Medien about 8 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-03-03
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
5.6
Tags:
tca, fal, internal_type
Complexity:
Is Regression:
No
Sprint Focus:

Description

Hello,

when using a field in the TCA or in Flexforms which is configured as internal_type "Folder", those records can become unable to edit them anymore.
If you select a folder in one of those fields and then rename the folder in the filelist, the system will throw an error when trying to edit the record.

#1329647780: Object with identifier "1:/Test/Test2/" does not exist in storage

The only thing you can do is deleting the record and create a new one or change the field value in phpMyAdmin to make it work again.

Anyway it would be nice if those fields automatically realize when the name of a folder changes.

        'image_folder' => array(
            'exclude' => 1,
            'label' => 'LLL:EXT:tgm_stunning_gallery/Resources/Private/Language/locallang_db.xlf:tx_tgmstunninggallery_domain_model_gallery.image_folder',
            'config' => array(
                'type' => 'group',
                'size' => '5',
                'eval' => 'required',
                'internal_type' => 'folder'
            ),
        ),
Actions

Also available in: Atom PDF