Bug #53614

Renaming/moving files results in new sys_file records

Added by Frans Saris over 1 year ago. Updated over 1 year ago.

Status:Resolved Start date:2013-11-13
Priority:Must have Due date:
Assigned To:- % Done:

100%

Category:File Abstraction Layer (FAL) Spent time: -
Target version:6.2.0
TYPO3 Version:6.2 Is Regression:No
PHP Version: Sprint Focus:
Complexity:

Description

When you rename a file the indentifier in the current sys_file records is updated but the indentifier_hash and folder_hash are not. This results in a new sys_file record when accessing the renamed/moved file.

Associated revisions

Revision f2c9e414
Added by Frans Saris over 1 year ago

[BUGFIX] Renaming file does not update hash values

When you rename a file the indentifier in the sys_file record
is updated but the indentifier_hash and folder_hash are not.
This results in a new sys_file record when accessing the
renamed/moved file.

Now when the identifier is changed the identifier and folder hash
are updated.

Releases: 6.2
Resolves: #53614
Change-Id: Iad7559d15705ab836e88860b1b198783f0420386
Reviewed-on: https://review.typo3.org/25451
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny

History

#1 Updated by Gerrit Code Review over 1 year ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/25451

#2 Updated by Gerrit Code Review over 1 year ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/25451

#3 Updated by Gerrit Code Review over 1 year ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/25451

#4 Updated by Frans Saris over 1 year ago

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

Also available in: Atom PDF