Task #106166
closedImageProcessing exception for width/height=0 asks for reporting but misses important details
100%
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
Files
Updated by Garvin Hicking about 1 month ago
Updated by Gerrit Code Review about 1 month ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/88203
Updated by Gerrit Code Review about 1 month ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/88203
Updated by Garvin Hicking about 1 month ago
- Related to Task #103351: Avoid duplicate image crop (crop-crop-scale to crop-scale) added
Updated by Gerrit Code Review about 1 month ago
Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/88203
Updated by Garvin Hicking about 1 month ago
- Related to Bug #106169: Creating 64x64 thumbnails with extreme proportions may fail added
Updated by Gerrit Code Review about 1 month ago
Patch set 1 for branch 13.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/88275
Updated by Garvin Hicking about 1 month ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset a8888cc98d7c7a375a64ba7316ebcb2a98ee9c43.