Skip to content
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

Duplicate DOIs #2848

Closed
ajrbyers opened this issue Apr 20, 2022 · 1 comment · Fixed by #2896
Closed

Duplicate DOIs #2848

ajrbyers opened this issue Apr 20, 2022 · 1 comment · Fixed by #2896
Assignees
Labels
bug Something's not working

Comments

@ajrbyers
Copy link
Member

Describe the bug
It is currently possible to have two DOIs that are the same.

Janeway version
1.4.1

To Reproduce
Steps to reproduce the behavior:

  1. Add a DOI
  2. Add another the same

Expected behavior
We should check that the DOI is not a duplicate.

@ajrbyers ajrbyers added the bug Something's not working label Apr 20, 2022
@joemull
Copy link
Member

joemull commented Apr 20, 2022

Will try solving this with a unique_together constraint that checks identifier string along with with id_type.

@joemull joemull self-assigned this Apr 20, 2022
@joemull joemull added this to v1.4.2 Apr 20, 2022
@joemull joemull moved this to Todo in v1.4.2 Apr 20, 2022
@joemull joemull moved this from Todo to In Progress in v1.4.2 May 10, 2022
@joemull joemull moved this from In Progress to Todo in v1.4.2 May 30, 2022
@joemull joemull removed their assignment May 30, 2022
joemull added a commit that referenced this issue May 30, 2022
ajrbyers added a commit that referenced this issue May 31, 2022
@ajrbyers ajrbyers moved this from Todo to PR Submitted in v1.4.2 May 31, 2022
ajrbyers added a commit that referenced this issue Jun 8, 2022
ajrbyers added a commit that referenced this issue Jun 8, 2022
mauromsl pushed a commit that referenced this issue Jun 9, 2022
mauromsl pushed a commit that referenced this issue Jun 9, 2022
mauromsl pushed a commit that referenced this issue Jun 9, 2022
mauromsl pushed a commit that referenced this issue Jun 9, 2022
joemull added a commit that referenced this issue Jun 14, 2022
@joemull joemull linked a pull request Jun 14, 2022 that will close this issue
@joemull joemull moved this from PR Submitted to Done in v1.4.2 Jun 15, 2022
@joemull joemull closed this as completed Jun 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something's not working
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants