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

For items with a custom URL it's impossible to upload files to a new bundle #372

Open
olli-gold opened this issue Aug 9, 2023 · 0 comments
Labels

Comments

@olli-gold
Copy link

olli-gold commented Aug 9, 2023

Describe the bug
If an item has a custom URL, it's impossible to upload files to a new bundle via administration. It's failing, because the REST API call with the custom URL (https://dspace-instance/server/api/core/items/CUSTOMURL) cannot be responded correctly - it works only with the UUID.

For existing bundles it's still possible to upload new files with the upload button at the bundle; it's not working for the generic "Upload" button above the existing bundles.

To Reproduce
Steps to reproduce the behavior:

  1. Create (or choose) an item with a custom URL
  2. Go to the administrative Edit mode for the item
  3. Choose the bitstreams tab
  4. Click the upload button
  5. Type a bundle name (there won't be a choice menu listing existing bundles!)
  6. Click "Create bundle"

Nothing will happen, in the console you will see error messages.

Expected behavior
I would expect to see the upload option to put a new file into the bundle.

Related work
No related work I am aware of.

@olli-gold olli-gold added the bug label Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant