Feature #90325

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

Added by Tim Jonas Pflaum 20 days ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2020-02-05
Due date:
% Done:

0%

PHP Version:
Tags:
Complexity:
medium
Sprint Focus:

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

Also available in: Atom PDF