Skip to content

input validation bug leads to duplication of items built from DOIs #2729

@stuartyeates

Description

@stuartyeates

Describe the bug
The check to see whether a DOI is in wikidata needs to have the same domain as the code to generate the item.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://scholia.toolforge.org/doi/https://doi.org/10.3390/MICROORGANISMS12071299
  2. Create the item
  3. Notice that the DOI already exists
  4. See error

Expected behavior
https://scholia.toolforge.org/doi/https://doi.org/10.3390/MICROORGANISMS12071299

Should redirect to

https://scholia.toolforge.org/doi/10.3390/MICROORGANISMS12071299

Or at least have the same behaviour

Metadata

Metadata

Assignees

Labels

bugsomething wrong on our end

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions