From: Nicolas LÅ“uillet Date: Sat, 28 May 2016 11:38:59 +0000 (+0200) Subject: Fix the deletion of Tags/Entries relation when delete an entry X-Git-Tag: 2.1.0~81 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=af95c09c800e8aa8ef4af053f35d506136ecd685;hp=26ed851f529fe3a50217940d47c20d9cd0f8954e;p=github%2Fwallabag%2Fwallabag.git Fix the deletion of Tags/Entries relation when delete an entry Fix #2121 --- diff --git a/src/Wallabag/CoreBundle/Entity/Entry.php b/src/Wallabag/CoreBundle/Entity/Entry.php index 1271f1f5..84981414 100644 --- a/src/Wallabag/CoreBundle/Entity/Entry.php +++ b/src/Wallabag/CoreBundle/Entity/Entry.php @@ -177,7 +177,7 @@ class Entry private $user; /** - * @ORM\ManyToMany(targetEntity="Tag", inversedBy="entries", cascade={"persist", "remove"}) + * @ORM\ManyToMany(targetEntity="Tag", inversedBy="entries", cascade={"persist"}) * @ORM\JoinTable * * @Groups({"entries_for_user", "export_all"})