]> git.immae.eu Git - github/wallabag/wallabag.git/commit
Validate imported entry to avoid error on import 3816/head
authorJeremy Benoist <jeremy.benoist@gmail.com>
Tue, 18 Dec 2018 12:14:42 +0000 (13:14 +0100)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Thu, 3 Jan 2019 08:42:06 +0000 (09:42 +0100)
commit9f8f188d928b47503d39348c5990379a572b570a
tree0e2b7e488312b7bcb51efee8979ff35544997716
parent4d0c632c70ea50d459c3c55ddda2e0f394dd51cb
Validate imported entry to avoid error on import

We got some imports with a missing `url` field generating some errors while trying to retrieve an existing entry with that url.
Introducing the `validateEntry` allow us to dismiss a message when it doesn't have an url (or other missing stuff in the future)
src/Wallabag/ImportBundle/Consumer/AbstractConsumer.php
src/Wallabag/ImportBundle/Import/AbstractImport.php
src/Wallabag/ImportBundle/Import/BrowserImport.php
src/Wallabag/ImportBundle/Import/ChromeImport.php
src/Wallabag/ImportBundle/Import/FirefoxImport.php
src/Wallabag/ImportBundle/Import/InstapaperImport.php
src/Wallabag/ImportBundle/Import/PinboardImport.php
src/Wallabag/ImportBundle/Import/PocketImport.php
src/Wallabag/ImportBundle/Import/ReadabilityImport.php
src/Wallabag/ImportBundle/Import/WallabagImport.php