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

Import feedback system #168

Closed mmenozzi closed 1 year ago

mmenozzi commented 1 year ago

Now that we use Symfony Messenger as queue engine we lost the ability to show failed queue items to allow the merchant to review import errors.

So, we should implement a system that allows the merchant to review import jobs status.

mmenozzi commented 1 year ago

We decided to implement this by injecting a special Logger in the ItemImportHandler which should log any exception thrown during the import process. This special Logger should be configured with a "DoctrineORMHandler" which will persist logs as a new Log entity that will be configured as Sylius resource with dedicated grid in the backend.