Project

General

Profile

Actions

Bug #80061

closed

FileStorageExtractionTask breaks if file not found

Added by Jonas Renggli about 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
scheduler
Target version:
-
Start date:
2017-02-28
Due date:
% Done:

100%

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

Description

Steps to Reproduce

  1. Ensure there's something to index. Add files, reset last_indexed field
    UPDATE `sys_file`
    SET `last_indexed` = 0;
    
  2. Delete file in filesystem
  3. Run scheduler Task "File Abstraction Layer: Extract metadata in storage" (FileStorageExtractionTask)
  4. Run scheduler Task "File Abstraction Layer: Update storage index" (FileStorageIndexingTask)
  5. Run scheduler Task "File Abstraction Layer: Extract metadata in storage" (FileStorageExtractionTask)

Actual Behavior

  • Error message
    Task failed to execute successfully. Class: TYPO3\CMS\Scheduler\Task\FileStorageExtractionTask, UID: 4
    
  • Metadata for all other files won't be extracted

Expected Behavior

  • Skip missing file and continue with next file
  • Respect missing field in sys_file (set by FileStorageIndexingTask)

Files

80061_typo3v8.patch (2.28 KB) 80061_typo3v8.patch Jonas Renggli, 2017-02-28 16:50
80061_typo3v7.patch (1.88 KB) 80061_typo3v7.patch Jonas Renggli, 2017-02-28 16:59
scheduler.png (26 KB) scheduler.png SICOR KDL GmbH, 2017-05-15 10:47

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #66217: [FAL] Show exception message or log exception when metadata extraction failClosedThomas Hohn2015-04-01

Actions
Actions

Also available in: Atom PDF