Issue Bug Closed

#84586GM messages spoil console output of scheduler task

Anja Leichsenring 04/03/18, 16:55 updated 10/02/18, 10:51

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.

Reviews 2