Bug #39884
closedCannot reference to a file after changing it's title
100%
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
Updated by Andreas Wolf almost 12 years ago
- Project changed from 1401 to TYPO3 Core
Updated by Andreas Wolf almost 12 years ago
- Category set to File Abstraction Layer (FAL)
- TYPO3 Version set to 6.0
Updated by Andreas Wolf almost 12 years ago
- Status changed from New to Accepted
I can confirm this weird bug. It seems that the title of a file is saved in the "name" field instead of the title field - and this field is also updated. This leads to the file being reindexed (which is bad) and to reference records breaking (which is worse).
Another problem is that BE users are not allowed to edit sys_file_reference records – at least this is an error I had while testing this. We had a similar problem with sys_file which has been fixed in the meantime.
Updated by Gerrit Code Review almost 12 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14260
Updated by Gerrit Code Review almost 12 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14260
Updated by Gerrit Code Review almost 12 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14260
Updated by Anonymous almost 12 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset d4f101a0bbf55e4c7fd1fe40d4eb0723068d100a.