Closed jdp1ps closed 6 months ago
Book 'The Fungal Kingdom' already exists from another source (Scopus) with ISBN '9781555819576'. Isbn unicity constraint is not defined on a per-source basis : https://github.com/CRISalid-esr/svp-harvester/blob/b25c4110b2b11d0eb2065efc3cdff24aba79a345/app/db/models/book.py#L24-L25 As soon as a book with the same isbn is retrieved from another source, the get-or-create algorithm fails.