-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Description
First of all, thank you for this patch — it’s generally working well and has been very helpful.
However, I’ve encountered an issue related to product image handling after applying the patch.
Issue description
When images are assigned to products programmatically (e.g., via sync/import), the following problems occur:
-
Saving the product triggers an error:
The image doesn't exist. -
Image resize is not working:
- Thumbnails are not generated
Expected behavior
- Images should be properly recognized after assignment
- Product save should not fail with "The image doesn't exist."
- Magento should generate resized images as usual
Observations
- The original image files exist in
pub/media/catalog/product - The issue only appears after applying this patch
- It appears that Magento is unable to properly resolve or process image paths during import or when the resize process is triggered via cron, as the file extension is not being preserved or recognized. Images uploaded manually through the admin work as expected.
Steps to reproduce
- Apply the
magento-polyshell-patch - Import or programmatically assign images to a product
- Save the product via repository
- Observe the "The image doesn't exist." error
Environment
- Magento version: 2.4.x (tested on 2.4.7-p9)
- PHP version: 8.3
Let me know if you need additional logs or debugging details.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed