-
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
Product will not export if product has image label names but no images #36749
Comments
Hi @git-seb. Thank you for your report.
Make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:
For more details, review the Magento Contributor Assistant documentation. Add a comment to assign the issue: To learn more about issue processing workflow, refer to the Code Contributions.
🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket. ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
Hi @engcom-Bravo. Thank you for working on this issue.
|
Hi @git-seb, Thank you for reporting and collaboration. Verified the issue on Magento 2.4-develop instance and the issue is not reproducible. Kindly refer the screenhsots. Steps to reproduce 1.Open System > Data Transfer > Export We are able to the export the product details successfully. Below is the CSV file we have exported successfully. export_catalog_product_20230117_152406.csv We have tried with no images Kindly recheck the behavior on Magento 2.4-develop instance and elaborate steps to reproduce if the issue is still reproducible. Thanks. |
Hi @engcom-Bravo , yes issue is still reproducible, since I am currently figuring out a work around. Maybe I should explain a bit more. So when doing an export, the csv does contain the product throwing error in the log but not the product that comes after. The error in my first message then shows in system.log. Maybe another good thing to note is we have enabled Flat Catalog Product, not sure if that is related. Should also note, your last screenshot with no images should have image labels but no images. (Thats how some of the products got imported.) Here's the full error f.y.i.:
|
Hi @git-seb, Thanks for your update. Verified the issue on Magento 2.4-develop instance and the issue is not reproducible.Kindly refer the screenshots. We have exported the product without image and we have exported product details successfully.when we have image for product for that product only we have image labels.Without image for a product we are not able to set the images labels for a product. In logs we are not getting any error. We have exported below CSV file export_catalog_product_20230118_162653.csv As per Magento docs Magento no longer recommends the use of a flat catalog as a best practice. Kindly recheck the behavior on Magento 2.4-develop instance and elaborate steps to reproduce if the issue is still reproducible. Thanks. |
Hi @engcom-Bravo, I have found a workaround for myself. So if nobody else having this issue you can close this. My work around was just removing the label names (image_label, small_image_label, thumbnail_label) manually from catalog_product_entity_varchar in database for products who do not have any images and doing a reindex. That fixed the export for me. (Afterwards I did follow your suggestion to disable flat catalog.) |
Hi @git-seb, Thanks for your update. Hence we are closing this issue as per latest comment #36749 (comment). Thanks. |
Hello, I got the same problem, do we have to remove the alt text? |
Preconditions and environment
Steps to reproduce
Expected result
Export successfully without issues
Actual result
Export fails or incomplete (leaves out products with having both cases: image label names + without images)
Additional information
No response
Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: