#39884Cannot reference to a file after changing it's title
Description
As long as the title of a file is not modified (= is equal to the filename), all is fine and using e.g. images in content elements works fine. As soon as the title of an image is changed, this file cannot be used in a content element anymore.
Steps to reproduce:
- Go to the file-list module and upload a file (tested with an image)
- modify the title of the file
- Go to the list module
- Create a content element of type “images”
- Link to the image you’ve uploaded
- Save the content element
- Look at the tab “Images” in that CE again
When the title of the image is not changed, all is fine.
As soon as the title of the image is once modified, referencing to that image is not possible anymore and the reference is not saved (e.g. the image tab in the CE is empty again after saving and the reference is completely lost)
Problem can be reproduced both as editor and as admin user on today’s Git master.
Might be related to #39859