webgriffe / SyliusAkeneoPlugin

Plugin allowing to import data from Akeneo PIM to your Sylius store.
https://webgriffe.github.io/SyliusAkeneoPlugin/
MIT License
23 stars 3 forks source link

[BUG] - FileAttributeValueHandler does not download files for all locales when attribute has value per locale in Akeneo #189

Open fabianaromagnoli opened 9 months ago

fabianaromagnoli commented 9 months ago

Describe the bug FileAttributeValueHandler does not download files for all locales when attribute has value per locale in Akeneo

To Reproduce Steps to reproduce the behavior:

  1. Create a file attribute "pdf_datasheet" in Akeneo with value per locale set tot true
  2. Create the corresponding "pdf_datasheet" text attribute in Sylius
  3. Create a product in Akeneo and populate the "pdf_datasheet" attribute with differente values for two different locales (it_IT and en_150)
  4. Import this product to Sylius

Expected behavior The attribute "pdf_datasheet" has both Italian and English values and both files have been downloaded to the configured download path

Actual behavior The attribute "pdf_datasheet" has both Italian and English values but only the it_IT file has been downloaded to the configured download path