-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Manual publication search by title can turn up publications that cannot be added #1219
Labels
Comments
An example from a support request:
|
My response to the original support request shown below:
|
Support request:
|
peetucket
changed the title
Manual publication search by title can turn up publications that cannot be added.
Manual publication search by title can turn up publications that cannot be added
Jan 4, 2021
Support case identified above manually remediated by updating the publication to add the author's initial, as well as set the contribution back to a new state. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The sitatuion: an already harvested publication has slightly bad metadata. A user declines this publication, then uses the "search by title" feature to find it again. This executes a new search against WoS, turning up an updated version of the publication. But when you add it to the profile, our code realizes the publication already exists locally and simply connects the existing publication with the profile instead of adding the new one.
We may want to consider forcing the "search by title" to find and return local publications before going off to WoS to avoid confusion. Curiously enough, this is already the case when users run a manual search by PMID or DOI.
We may also want to consider the ability of forcing an update of an existing publication in some way, see #163
See https://github.com/sul-dlss/sul_pub/blob/master/app/controllers/publications_controller.rb#L145 and https://github.com/sul-dlss/sul_pub/blob/master/app/controllers/publications_controller.rb#L149
which then hit
https://github.com/sul-dlss/sul_pub/blob/master/lib/pubmed/fetcher.rb#L9 for pmid searches
and https://github.com/sul-dlss/sul_pub/blob/master/lib/doi_search.rb#L11 for doi searches
directly hitting our local publication table before going off to remote services.
By contrast, when searching by title, we first go off to WoS before searching locally:
https://github.com/sul-dlss/sul_pub/blob/master/app/controllers/publications_controller.rb#L154-L160
The text was updated successfully, but these errors were encountered: