]> git.immae.eu Git - github/wallabag/wallabag.git/commit
Avoid multiple tag creation
authorJeremy Benoist <jeremy.benoist@gmail.com>
Sun, 27 Dec 2015 21:26:49 +0000 (22:26 +0100)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Mon, 28 Dec 2015 12:20:48 +0000 (13:20 +0100)
commitfc031e5706acf89ff21f22ca8004ddc7f9b43089
tree845fd4f69308dc11ca6c54cc9ed4be62cb4f471c
parent82899c040258896bff540080602e93aa49a71ae8
Avoid multiple tag creation

When a new tag is created but not yet persisted, it can be duplicated.
It could happen when multiple rules match the content and at least 2 of them should attach same new tag.

Fix #1528
src/Wallabag/CoreBundle/DataFixtures/ORM/LoadTaggingRuleData.php [new file with mode: 0644]
src/Wallabag/CoreBundle/Entity/Entry.php
src/Wallabag/CoreBundle/Tests/Helper/RuleBasedTaggerTest.php