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

NPE for Correction requests without attached bundles or bitstreams #473

Open
olli-gold opened this issue Oct 29, 2024 · 0 comments · May be fixed by #474
Open

NPE for Correction requests without attached bundles or bitstreams #473

olli-gold opened this issue Oct 29, 2024 · 0 comments · May be fixed by #474
Labels

Comments

@olli-gold
Copy link

Describe the bug
Correction requests cannot be approved when they do not contain a bitstream (which may happen for bibliographic reference items without any bitstreams). If you try it, an NPE is happening.

To Reproduce
Steps to reproduce the behavior:

  1. Create an item without a bitstream in a collection, which has an approval workflow and a correction request
  2. Approve that item
  3. Create a correction request for this item
  4. Try to approve the correction request

Expected behavior
The approval should work without problems

Related work
None I am aware of

@olli-gold olli-gold added the bug label Oct 29, 2024
@olli-gold olli-gold linked a pull request Oct 29, 2024 that will close this issue
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant