#106166ImageProcessing exception for width/height=0 asks for reporting but misses important details
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
- main 88203[TASK] Improve LogicException error output for failed image generation
- 13.4 88275[TASK] Improve LogicException error output for failed image generation
- 13.4 88238[BUGFIX] Fix failing image generation for width/height 0 thumbnails
- main 88206[BUGFIX] Fix failing image generation for width/height 0 thumbnails
Related issues 2
Files 1
History 610
-
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>
-
Gerrit Code Review pushed patch set 1 for main to change 88203 status
NewUnder Review <span data-processor="relativetime" data-value="2025-02-13T09:00:01+00:00" > 02/13/25, 09:00 </span> -
Gerrit Code Review pushed patch set 2 for main to change 88203 <span data-processor="relativetime" data-value="2025-02-13T09:03:14+00:00" > 02/13/25, 09:03 </span>
-
Garvin Hicking changed Related to #103351 <span data-processor="relativetime" data-value="2025-02-13T09:04:30+00:00" > 02/13/25, 09:04 </span>
-
Garvin Hicking changed description <span data-processor="relativetime" data-value="2025-02-13T09:04:43+00:00" > 02/13/25, 09:04 </span>
-
Gerrit Code Review pushed patch set 3 for main to change 88203 <span data-processor="relativetime" data-value="2025-02-13T09:11:18+00:00" > 02/13/25, 09:11 </span>
-
Garvin Hicking changed Related to #106169 <span data-processor="relativetime" data-value="2025-02-13T12:09:40+00:00" > 02/13/25, 12:09 </span>
-
Gerrit Code Review pushed patch set 1 for 13.4 to change 88275 <span data-processor="relativetime" data-value="2025-02-19T11:08:11+00:00" > 02/19/25, 11:08 </span>
-
Garvin Hicking commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2025-02-19T11:25:09+00:00" > 02/19/25, 11:25 </span> -
Benni Mack changed status
ResolvedClosed <span data-processor="relativetime" data-value="2025-08-12T14:36:32+00:00" > 08/12/25, 14:36 </span>
Applied in changeset commit:a8888cc98d7c7a375a64ba7316ebcb2a98ee9c43.