Skip to content

Articles no longer valid in WoS cause plugin to abort #14

@MrkGrgsn

Description

@MrkGrgsn

If the existing WoS ID doesn't return a citation count WoS->get_cites_for_identifier() tries to find a new UID, however it doesn't handle the case where a new UID is not found. Instead execution continues with the plugin trying to parse an empty response, and interpreting failure as 'WoS is sending me a data structure I don't know anything about so abort' when really this is a record-level error and the plugin should continue with the next eprint.

It took a strange case to unearth this bug: I have a record with WoS ID that exists in WoS but can no longer be found by searching in either the API or the UI. See http://ws.isiknowledge.com/cps/openurl/service?url_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&svc.fullrec=yes&rft_id=info%3Aut%2FA1979JN86500007. The existing WoS ID doesn't return a citation count but there is no other record matching this article.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions