Project

General

Profile

Actions

Bug #90732

closed

FileIndexRepository can not be constructed when using the Maintenance->Remove Temporary Assets functionality

Added by Christian Richter about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
Start date:
2020-03-11
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.2
Tags:
fal, fileindex
Complexity:
Is Regression:
Sprint Focus:

Description

Whenever I want to remove temporaray assets with the maintenance tool,

I get the following error message:


(1/1) ArgumentCountError

Too few arguments to function TYPO3\CMS\Core\Resource\Index\FileIndexRepository::__construct(), 0 passed in /var/www/html/app/public/typo3/sysext/core/Classes/Utility/GeneralUtility.php on line 3452 and exactly 1 expected


(the whole stacktrace is attached)

There are 4 locations I want to clear:

7 files in /typo3temp/assets/_processed
395 files in /typo3temp/assets/compressed
393 files in /ext_uploads/_processed_/
2111 files in /fileadmin/_processed_/

But all throw the same error!

Then mentioned file(s), that are mentioned via sys_files and references in the errors are present in the filesystem.
So I assume that indeed the construct does not work, since the eventdispatcher seems to be missing or not injected correctly?

I found https://typo3.slack.com/archives/C03AM9R17/p1582399391014600

but couldn't find an existing bugreport considering this topic!


Files


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #89891: Temporary assets can not be removed in install tool, exception occursClosed2019-12-06

Actions
Actions #1

Updated by Andreas Kienast about 4 years ago

  • Is duplicate of Bug #89891: Temporary assets can not be removed in install tool, exception occurs added
Actions #2

Updated by Andreas Kienast about 4 years ago

  • Status changed from New to Closed

Thank you for your report.

As communicated in Slack, this issue duplicates #89891, thus I'll close this one.

Kind regards
Andreas

Actions

Also available in: Atom PDF