CON-5196: prevent deletion of images but not media items
CON-5196: prevent deletion of images but not media items

we ran in lock when deleting media items for products
before we already removed the images
that led to broken products
now we wrap it in an transaction

shopware/SwagConnect,shopware/SwagConnect,shopware/SwagConnect