Open ericmorand opened 4 years ago
The issue seems to be coming from the code that starts there:
It removes all the attribute values that are not equal to one of the files downloaded by the importer. Which means that it removes the value of all the attributes that are not mapped to an Akeneo attribute.
It prevents webmasters to have some medias coming from Akeneo and some others managed in the Magento back-office or from some other PIM that would also import medias into Magento.
Environment and configuration
Steps to reproduce
Expected result
The image assigned to the product is still present in the product form.
Actual result
The image assigned to the product is not present in the product form.
Conclusion
Looks like it's all or nothing when the "Import Image Attributes" setting is enabled. All products Media attributes needs to be mapped to an Akeneo attributes. Those that are not mapped are removed by the importer.