-
Notifications
You must be signed in to change notification settings - Fork 490
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
File Upload: file upload for collection with metadblocks that have required, single, controlled vocab fails #10385
Comments
Is it working if you try to only create the dataset, without uploading files in the same step? |
@landreev still happening today. this ticket is is directly related to files included. I tested and without files i can create the dataset |
I tried and was able to reproduce - I saw it occur both when using the general Add Dataser button, but also when using the specific one that already has the correct host dataverse collection. I also (temporarily removed the two metatdatablocks that are specific to CAFE) and then things worked correctly. The two blocks: With either one (or both) enabled, am seeing the behavior from the image above. |
OK, so some more data - the two behaviors that are seen depend on whether direct upload or not: |
OK, so the smoking gun... There's only one other metadatablock which has a field like that and it exhibits the same behavior. Clearly, something is failing the validation and so it doesn't proceed with the upload as it should. In the meanwhile, I discovered another workaround (the forst being to upload files AFTER create). You can give these fields default values in the template and then it works as expected. |
Actually one more workaround - just fill out those two fields first BEFORE you try to upload the file. Then the upload also works as expected. |
Also, I went ahead and changed the title - my guess is Sonia wasn't seeing it when they used the direct button because they filled out the metadata BEFORE trying to upload. |
What steps does it take to reproduce the issue?
Navigate to dataverse.harvard.edu and select the "add data" "new dataset" option at the TOP of the page
change the host from "Harvard Dataverse" to collection Climate Change and Health Research Coordinating Center (CAFE) Collection
fill in required fields, upload files, and select save.
File doesn't show up on save.
When using "add data" and "new dataset" at the TOP of the production page, within a collection
*inside CAFE collection, but using "add data" "new dataset" on top page toolbar
Which page(s) does it occurs on?
add dataset deposit page when inside a collection but using top level "add data-new dataset" option
What happens?
Files disappear when you hit save and don't show up in the saved draft
To whom does it occur (all users, curators, superusers)?
All
Uploaded files are ingested/uploaded on save
Which version of Dataverse are you using?
Any related open or closed issues to this bug report?
Screenshots:
No matter the issue, screenshots are always welcome.
To add a screenshot, please use one of the following formats and/or methods described here:
The text was updated successfully, but these errors were encountered: