#81087Filelist: cannot delete a folder where there is a file that was referenced once
Description
Steps to reproduce it (current master):
- File list > create a new folder
- Upload a file on the folder created at point 1
- Open a page, add a content element (e.g. of type “textmedia”)
- add the file uploaded at point 2 and save
- Delete the file reference created at point 4 and save
- Filelist > try to delete the folder created at point 1
Result:
you obtain the error message
Folder not deleted The folder cannot be deleted since it still contains files in use.