Errors due to tagging duplicates
Brought to you by:
alexeya
(see a user report: https://sourceforge.net/projects/scan/forums/forum/665371/topic/4704143\)
If document metadata (PDF or MS-Office) contains duplicate keywords, a "Unique constraint violation" SQLException is thrown in the Tagger and an error message box appears.
If there are many of such documents, the error boxes become annoying. It must be fixed either by:
* Lowering the log level of error message from SEVERE to WARN (so that the message box does not appear)
* Filtering the imported keyword lists to exclude duplicates
It also may be a good idea to have an indexing option to disable importing of document keywords as SCAN tags. The real-life PDF and Word files often contain a garbage in this metadata field.