Issue Feature Closed

#90325Folder path should change in a file collection when renaming the folder

Tim Jonas Pflaum 02/05/20, 10:40 updated 02/02/21, 12:30

Description

*Prerequisits:*
Typo3 v8.7.30 (most likely also in v9)

*Steps to reproduce:*
1. Create folder in filelist
2. Create a file collection of type: folder from storage
2.1 Select a folder
3. Rename the folder used in the file collection in the filelist

*Expected behavior:*
Folder is renamed in the file collection

*Actual behavior:*
Folder still has the old file path in the file collection which isn’t valid anymore so it shows: Invalid value

*Additional notes:*
Possible solution might be to implement something similar to the FileReference -> FolderReference and have the filecollection use database entries
Also when renaming a folder in the filelist the paths for subfolders have to be adjusted

Other possibility would be to check filecollections for references to the folder or subfolder and update it

Reviews 0

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