-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Improve error reporting for products images import #4711
Comments
Please, provide the used version. If the problem is actual for a specific branch, please, specify it and be sure that the latest update was used. |
Thanks @wert2all. This is branch 2.0, specifically in my case, version 2.0.7: |
Hi @leoquijano Thank you for reporting. |
@leoquijano, thank you for your report. |
Just fyi, it's present in v2.2.0 too: |
@leoquijano the issue has been fixed and delivered to 2.2-develop branch. Will be available with 2.2.2 release |
Internal ticket to track issue progress: MAGETWO-82886 |
Thank you. |
Hi @leoquijano. Thank you for your report. The fix will be available with the upcoming patch release. |
[chaika] MC-17824: MAP and MSRP are being used interchangeably when they are different
When importing products using the System -> Import Products feature, if there problems importing the images, Magento just fails with:
No information is given about the cause of the problem, nor any help for the developer to sort it out. Generic calls to fix permissions don't really help, and it makes the process of importing products way longer than expected.
As explained here, exception handling could be improved to provide helpful messages to the developer. In particular, the following can be added to
vendor/magento/module-catalog-import-export/Model/Import/Product.php
:Swallowing exceptions is a very bad thing, so it'd be a good idea to improve it like this:
The text was updated successfully, but these errors were encountered: