Project

General

Profile

Actions

Bug #39884

closed

Cannot reference to a file after changing it's title

Added by Mario Rimann almost 12 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2012-08-17
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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:

  1. Go to the file-list module and upload a file (tested with an image)
  2. modify the title of the file
  3. Go to the list module
  4. Create a content element of type "images"
  5. Link to the image you've uploaded
  6. Save the content element
  7. 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


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #39859: No thumbnail if removing file extension from titleClosed2012-08-16

Actions
Related to TYPO3 Core - Bug #36795: Changing the "title" of a file breaks some functionalityClosed2012-05-03

Actions
Actions #1

Updated by Andreas Wolf over 11 years ago

  • Project changed from 1401 to TYPO3 Core
Actions #2

Updated by Andreas Wolf over 11 years ago

  • Category set to File Abstraction Layer (FAL)
  • TYPO3 Version set to 6.0
Actions #3

Updated by Andreas Wolf over 11 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.

Actions #4

Updated by Gerrit Code Review over 11 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

Actions #5

Updated by Gerrit Code Review over 11 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14260

Actions #6

Updated by Gerrit Code Review over 11 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14260

Actions #7

Updated by Anonymous over 11 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #8

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF