Skip to content

Fix records with wrong ASIN/BWBID as a result of import api bug #7224

@cdrini

Description

@cdrini

For some amount of time, the import endpoint has been incorrectly matching a book on source_record alone. This means that if no better data (eg isbn) was available, it would match any item in the same bwb palette when we import promise items.

Here's an example of a bad edit: https://openlibrary.org/books/OL30383M/Departures?_compare=Compare&b=15&a=14&m=diff

  • The ASIN point to other books!
  • In this case we were lucky and it added another BWB SKU to local_ids. But it sometimes overwrites the field :( Either way it's wrong and will lead to incorrect matches when partners try to search by BWB SKU

Metadata

Metadata

Assignees

No one assigned

    Labels

    Affects: DataIssues that affect book/author metadata or user/account data. [managed]Data CleanupLead: @cdriniIssues overseen by Drini (Staff: Team Lead & Solr, Library Explorer, i18n) [managed]Module: ImportIssues related to the configuration or use of importbot and other bulk import systems. [managed]Priority: 3Issues that we can consider at our leisure. [managed]

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions