]> git.immae.eu Git - github/wallabag/wallabag.git/commit
Use scheduled entity insertions to avoid tag duplicate
authorJeremy Benoist <jeremy.benoist@gmail.com>
Sun, 25 Sep 2016 09:26:15 +0000 (11:26 +0200)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Sun, 25 Sep 2016 10:03:49 +0000 (12:03 +0200)
commit401135852c6b25c8d5ab97beaefb02d1bd023ec9
tree5922f4bd40af0ceb61db2c55755bc006f18410fb
parentfaa86e06ba3032fdb98f3c0f79c72e8581d3c96f
Use scheduled entity insertions to avoid tag duplicate

Using `getScheduledEntityInsertions()` we can retrieve not yet flushed but already persisted entities and then avoid tags duplication on import.
src/Wallabag/CoreBundle/Helper/ContentProxy.php
src/Wallabag/ImportBundle/Import/PocketImport.php
src/Wallabag/ImportBundle/Import/WallabagImport.php
tests/Wallabag/CoreBundle/Helper/ContentProxyTest.php
tests/Wallabag/ImportBundle/Import/PocketImportTest.php
tests/Wallabag/ImportBundle/Import/WallabagV1ImportTest.php
tests/Wallabag/ImportBundle/Import/WallabagV2ImportTest.php