- ๐บ๐ธUnited States smustgrave
But then we need a followup to keep trying to find a solution for insufficient memory issues.
Does this still need a followup?
- ๐ฎ๐นItaly mondrake ๐ฎ๐น
Filed ๐ GD toolkit & operations should fail gracefully in case of memory issues Needs work for follow-up.
- ๐บ๐ธUnited States smustgrave
Do you have a recommended way to manually test? Tried lowering my memory and using the snippet in the IS but couldn't trigger.
- ๐ฎ๐นItaly mondrake ๐ฎ๐น
@smustgrave I think we need to leave memory testing to the followup. The automated tests cover the base case of any throwable being thrown. Apparently the memory issues are not catchable, or at least not under some PHP configurations. See the commit that was reverted, #124, #127.
- ๐บ๐ธUnited States smustgrave
Can the issue summary be updated please. Since this is not about memory.
- Status changed to RTBC
about 2 years ago 1:18am 4 February 2023 - ๐บ๐ธUnited States smustgrave
Thank you!
Tested this out by editing Drupal\system\Plugin\ImageToolkit\Operation\gd\Convert changing line 59 to
if ($this->getToolkit()->apply('creatfasde_new', $data)) {
Without the patch when I create a media object I get 2 errors in the logs
Image convert failed using the gd toolkit on
andThe selected image handling toolkit 'gd' can not process operation 'creatfasde_new'.
Applied the fix
Created another media object
No errors logged.
- Status changed to Needs work
about 2 years ago 6:21am 4 February 2023 - ๐ฎ๐นItaly mondrake ๐ฎ๐น
Mmmm thatโs not right then. Missing plugin should be logged and fail the effect - we have regression here.
- Status changed to RTBC
about 2 years ago 4:36pm 5 February 2023 - ๐ฎ๐นItaly mondrake ๐ฎ๐น
I repeated the steps in #141, but just saving an image style containing a convert effect through the configuration UI. Both without and with the patch, after clicking 'save' on the image style configuration form I get the two errors logged, which means to me the missing plugin is properly handled.
- Status changed to Fixed
almost 2 years ago 12:10am 7 February 2023 -
alexpott โ
committed 4e49b11a on 10.1.x
Issue #2583041 by mondrake, fietserwin, claudiu.cristea, alexpott,...
-
alexpott โ
committed 4e49b11a on 10.1.x
Automatically closed - issue fixed for 2 weeks with no activity.