-
-
Notifications
You must be signed in to change notification settings - Fork 436
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding useful feedback to Gd2.php exceptions #1339
Conversation
Are these exceptions ever visible to users or are they just logged? |
I got this thrown at the admin user by an extension that creates a product feed for a SaaS search solution. The exception caused complete failure of the feed generation job. A message like does not contain enough information to be called "actionable" imo, and thus has to be expanded and we should probably consider not creating exceptions for this at all (all that happened was that there were a few stray BMP and TIFF images in the Lastly, we might consider merging https://github.com/magento-hackathon/Perfect_Watermarks for imagemagick support (I see you have forked that repo already). |
This project was not updated for more than 6 years. It is based on imaginemagick which had security issues. Just read an issue posted in 2016 here magento-hackathon/Perfect_Watermarks#24. |
The code could be updated. The security issue is easily mitigated, for instance for CentOS see https://access.redhat.com/security/vulnerabilities/ImageTragick. |
Someone have a test script to test this PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even if I don't consider the wording "was" appropriate the change is useful to identify where the error comes from.
Yeah agreed, made a new PR |
Description
Manual testing scenarios
Contribution checklist