Issue Task Closed

#106166ImageProcessing exception for width/height=0 asks for reporting but misses important details

Garvin Hicking 02/13/25, 08:53 updated 08/12/25, 14:36

Description

If imageprocessing fails because width or height is resolved to 0, an exception is thrown:

throw new \LogicException('Image processing instructions did not resolve into coherent positive width and height values. This is a bug. Please report.', 1709806820);

However, it is hard to see how an image was to be processed without extra information.

At least details like resolved width/height, croparea and option configuration should be mentioned.

Original bug report: https://typo3.slack.com/archives/C025BQLFA/p1739430010221999

Reviews 4

Files 1

History 610

  1. Garvin Hicking changed attached Screenshot 2025-02-13 at 09.57.13.png <span data-processor="relativetime" data-value="2025-02-13T08:59:55+00:00" > 02/13/25, 08:59 </span>

  2. Garvin Hicking commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2025-02-19T11:25:09+00:00" > 02/19/25, 11:25 </span>

    Applied in changeset commit:a8888cc98d7c7a375a64ba7316ebcb2a98ee9c43.