making the persist cascade of attributes explicit
All checks were successful
ci/woodpecker/push/code-style Pipeline was successful
ci/woodpecker/push/functional-tests Pipeline was successful

This commit is contained in:
Ferdinand Kuhl 2023-07-25 19:56:13 +02:00
parent 7b61dff4a3
commit 8b792978ed

View file

@ -15,7 +15,7 @@ class AssetExtensionsAspect
{ {
/** /**
* @Flow\Introduce("class(Neos\Media\Domain\Model\Asset)") * @Flow\Introduce("class(Neos\Media\Domain\Model\Asset)")
* @ORM\ManyToMany(inversedBy="assets", indexBy="name") * @ORM\ManyToMany(inversedBy="assets", indexBy="name", cascade={"persist"})
* @var Collection<AssetAttribute> * @var Collection<AssetAttribute>
*/ */
protected $attributes; protected $attributes;