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

Importing duplicate subject/transcription IDs doesn't error #250

Open
zwolf opened this issue May 27, 2021 · 0 comments
Open

Importing duplicate subject/transcription IDs doesn't error #250

zwolf opened this issue May 27, 2021 · 0 comments

Comments

@zwolf
Copy link
Member

zwolf commented May 27, 2021

When a subject is reused in a different workflow, usually in the case of a test project, the import into Tove from Caesar should cause an ID conflict in the database that raises an exception here:

# If a transcription with this id already exists, an exception will be raised
new_transcription = Transcription.new(transcription_create_attrs)
new_transcription.workflow = workflow
new_transcription.save!

But while this seems to be failing, an exception isn't being raised, at least not as far as Sentry. This should be looked into so we can ensure that no data is getting clobbered on import or anything like that.

@zwolf zwolf moved this to Features in TOVE Dev Plan Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Features
Development

No branches or pull requests

1 participant