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

files: new version import files doing nothing #557

Open
jrcastro2 opened this issue Jul 11, 2022 · 0 comments
Open

files: new version import files doing nothing #557

jrcastro2 opened this issue Jul 11, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@jrcastro2
Copy link
Contributor

Package version (if known): v0.19.15

Describe the bug

When creating a new version of a record, if the record was metadata-only, when deselecting the checkbox to add files, a blue rectangle box allowing to import files from previous version shows up, but there are no files to import. The button does nothing.

Steps to Reproduce

  1. Go to 'New upload'.
  2. Create a metadata-only record.
  3. Create a new version of the mentioned record.
  4. Deselect the metadata-only checkbox.
  5. See the blue rectangle box allowing you to import files.
  6. Click 'import files'.
  7. Nothing happens

Expected behavior

No box allowing you to import files from previous version as there are none, or a message saying there are no files that can be imported from previous version

Screenshots (if applicable)

image

@jrcastro2 jrcastro2 added the bug Something isn't working label Jul 11, 2022
@jrcastro2 jrcastro2 changed the title files: import files if no files files: new version import files doing nothing Jul 11, 2022
@kpsherva kpsherva moved this to 📋 To do in InvenioRDM v10 - Back-office Jul 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
Status: No status
Development

No branches or pull requests

1 participant