DivanteLtd / pimcore-magento2-bridge

Pimcore module for Magento 2 integration
35 stars 24 forks source link

Assetlistener must be public #40

Closed jheimbach closed 4 years ago

jheimbach commented 4 years ago

If i sync assets on the magento site, when the request to webservice/rest/asset/update-status is made i get the following error: {"msg":"Asset status could not be updates","success":false}. Pimcore logs the following The "Divante\MagentoIntegrationBundle\EventListener\AssetListener" service or alias has been removed or inlined when the container was compiled. You should either make it public, or stop using the container directly and use dependency injection instead.

As far as I understand it, symfony only registers services in the container that are public, so when the listener is removed here the container throws an exception.