Bug #58967

On deleting files from uploads folder related sys_file records have to be deleted

Added by Marc Bastian Heinrichs about 1 year ago. Updated 6 months ago.

Status:Resolved Start date:2014-05-20
Priority:Should have Due date:
Assigned To:Marc Bastian Heinrichs % Done:

100%

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

Associated revisions

Revision 2d244742
Added by Marc Bastian Heinrichs 6 months ago

[TASK] Use resource API to deleted files from uploads in DataHandler

The DataHandler deletes files from the uploads folder. Since also a
sys_file record could exist for such file, the resource API should be
used to delete it.

Resolves: #58967
Releases: master, 6.2
Change-Id: I6c0b3683657e1c4da5f9ab0a2016e33b1e472f62
Reviewed-on: http://review.typo3.org/31001
Reviewed-by: Michael Oehlhof <>
Reviewed-by: Philipp Gampe <>
Reviewed-by: Frans Saris <>
Tested-by: Frans Saris <>
Reviewed-by: Christian Kuhn <>
Tested-by: Christian Kuhn <>

Revision 0ba86476
Added by Marc Bastian Heinrichs 6 months ago

[TASK] Use resource API to deleted files from uploads in DataHandler

The DataHandler deletes files from the uploads folder. Since also a
sys_file record could exist for such file, the resource API should be
used to delete it.

Resolves: #58967
Releases: master, 6.2
Change-Id: I6c0b3683657e1c4da5f9ab0a2016e33b1e472f62
Reviewed-on: http://review.typo3.org/36488
Reviewed-by: Christian Kuhn <>
Tested-by: Christian Kuhn <>

History

#1 Updated by Frans Saris about 1 year ago

  • Status changed from New to Needs Feedback

How do you delete these files?

#2 Updated by Marc Bastian Heinrichs about 1 year ago

Sorry, in the BE of course, so via DataHandler: see functions extFileFunctions and deleteRecord_flexFormCallBack.

#3 Updated by Gerrit Code Review about 1 year ago

  • Status changed from Needs Feedback 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/31001

#4 Updated by Gerrit Code Review 7 months ago

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

#5 Updated by Frans Saris 7 months ago

  • Sprint Focus set to On Location Sprint

#6 Updated by Mathias Schreiber 6 months ago

  • Status changed from Under Review to In Progress

#7 Updated by Gerrit Code Review 6 months ago

  • Status changed from In Progress to Under Review

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

#8 Updated by Gerrit Code Review 6 months ago

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

#9 Updated by Gerrit Code Review 6 months ago

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

#10 Updated by Gerrit Code Review 6 months ago

Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36488

#11 Updated by Marc Bastian Heinrichs 6 months ago

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

Also available in: Atom PDF