🐛 | Media file delete | InvalidArgumentException: The entity object refers to a removed translation (nl) and cannot be manipulated.
🇳🇱Netherlands MarcKwee
I updated the patch so it also works with the bulk delete functionality.
🐛 | Media file delete | InvalidArgumentException: The entity object refers to a removed translation (nl) and cannot be manipulated.
🇳🇱Netherlands MarcKwee
There was a small mistake in my last patch. When you delete the defaultTranslation Media entity. It did not correctly delete the files of the translation media entities, even though those entities will no longer exist.
🐛 | Media file delete | InvalidArgumentException: The entity object refers to a removed translation (nl) and cannot be manipulated.
🇳🇱Netherlands MarcKwee
I think we can easily fix this by turning the logic around in the Submit handler.