Bug #78473

"Fileadmin garbage collection" scheduler task doesn't remove entries from sys_file

Added by Viktor Livakivskyi about 2 years ago. Updated about 2 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
scheduler
Target version:
-
Start date:
2016-10-27
Due date:
% Done:

100%

TYPO3 Version:
7
PHP Version:
5.6
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:

Description

As stated in subject, the fileadmin cleaner only removes the files from filesystem, but not from sys_file table, which results in showing all the removed /_recycler_/* files in Report "Files flagged as missing".

A bit related to #59312.


Related issues

Related to TYPO3 Core - Task #59312: No possibility to remove missing indexed files from DB Accepted 2014-06-03
Related to TYPO3 Core - Bug #77040: Recycler Garbage Collectoin Task not working with FAL or windows Closed 2016-07-11

Associated revisions

Revision a43deabd (diff)
Added by Nicole Cordes about 2 years ago

[BUGFIX] Use FAL api to delete file in garbage collection task

This patch uses FAL file objects and their api to delete them from
recycler. This is needed to clean up the database entries as well.

Resolves: #78473
Releases: 7.6
Change-Id: Id0df73c19a5fed31bc074efccd9631ab8fffbfa8
Reviewed-on: https://review.typo3.org/50432
Tested-by: TYPO3com <>
Reviewed-by: Joerg Boesche <>
Reviewed-by: Wouter Wolters <>
Reviewed-by: Markus Klein <>
Reviewed-by: Christian Kuhn <>
Tested-by: Christian Kuhn <>

History

#1 Updated by Philipp Gampe about 2 years ago

  • Status changed from New to Accepted
  • Complexity set to easy

#2 Updated by Gerrit Code Review about 2 years ago

  • Status changed from Accepted to Under Review

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

#3 Updated by Nicole Cordes about 2 years ago

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

#4 Updated by Benni Mack about 2 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF