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

bitstream import null control #776

Closed
Paurikova2 opened this issue Oct 3, 2024 · 1 comment · Fixed by #774
Closed

bitstream import null control #776

Paurikova2 opened this issue Oct 3, 2024 · 1 comment · Fixed by #774

Comments

@Paurikova2
Copy link
Collaborator

Because https://github.com/orgs/dataquest-dev/projects/12/views/32?pane=issue&itemId=81156787
Problem: During Ondrej's bitstream import, two bitstreams were not imported. The byte_size of this bitstream is null. We tried inserting a null value into a long type (

)
Task: Check that the entered value is not null.
Solution: Add not null check. https://github.com/dataquest-dev/DSpace/blob/140f0b72b2b79ee236e2c2b29ad1e981080a9e9e/dspace-server-webapp/src/main/java/org/dspace/app/rest/ClarinBitstreamImportController.java#L103 add SQL exception to error message.

@Paurikova2 Paurikova2 linked a pull request Oct 3, 2024 that will close this issue
@Paurikova2
Copy link
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant