Project

General

Profile

Actions

Bug #69334

closed

Rollback on content element doesn't restore deleted File Reference

Added by Nicolas Ries over 8 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2015-08-26
Due date:
% Done:

0%

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

Description

Deleting an image inside of a content element and then using the History / Undo function on the content element to restore the image doesn't bring back the deleted file reference. Instead it takes a completely different record from the sys_file_reference table that wasn't deleted and points the uid_foreign field to the content element, practically stealing the file reference from another content element.

Steps to reproduce the issue:
  • create new "Images" element
  • add a picture to it and save
  • delete the picture and save
  • use History / Undo on the "Images" element and undo the last step
  • the element will now have a completely different image to before while the deleted file reference is still deleted

Undeleting the file reference by doing History / Undo on the page the content element and file reference are on works correctly and you can bring back the deleted image that way but I think that's a very unintuitive for most users.


Files

cattura.png (55.2 KB) cattura.png Riccardo De Contardi, 2015-10-16 09:46

Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Bug #71245: Undelete does not restore inline recordsNewAlexander Jahn2015-11-02

Actions
Actions

Also available in: Atom PDF