diff --git a/Classes/Aspects/AssetExtensionsAspect.php b/Classes/Aspects/AssetExtensionsAspect.php index 8bd5de7..513f804 100644 --- a/Classes/Aspects/AssetExtensionsAspect.php +++ b/Classes/Aspects/AssetExtensionsAspect.php @@ -15,7 +15,7 @@ class AssetExtensionsAspect { /** * @Flow\Introduce("class(Neos\Media\Domain\Model\Asset)") - * @ORM\ManyToMany(inversedBy="assets", indexBy="name") + * @ORM\ManyToMany(inversedBy="assets", indexBy="name", cascade={"persist"}) * @var Collection */ protected $attributes;