Project

General

Profile

Actions

Bug #84586

closed

GM messages spoil console output of scheduler task

Added by Anja Leichsenring about 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2018-04-03
Due date:
% Done:

100%

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

Description

The task 'File Abstraction Layer: Update storage index (scheduler)' will handle all missing files and provide sys_file records for them.
If the identified file is of type SVG, there will be a console output like /usr/bin/gm identify: Request did not return an image.. There is no way to get rid of the messages except redirecting all scheduler output to /dev/null, what is not always wanted.

The message is caused by the exec() command of ImageMagick, which in turn is issued before the fallback handling for SVG files, introduced with https://forge.typo3.org/issues/66268.
Solution to get the output silent: switch the position of the fallbacks, first SVG, then IM identify.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #66268: ImageInfo::getImageSizes() doesn't recognize all supported images formatsClosed2015-04-03

Actions
Related to TYPO3 Core - Task #84934: Add UnitTests for ImageInfoClosedAnja Leichsenring2018-05-06

Actions
Actions

Also available in: Atom PDF