-
Notifications
You must be signed in to change notification settings - Fork 493
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
Validation Errors - Metadata Required Fields Break File Upload #1311
Comments
This is tricky, since by adding a block to a dataverse you could make existing datasets "invalid." How do we want to handle this? |
@scolapasta I am thinking that all new datasets would need to use these newly applied "required" fields however all older existing datasets would not fail (unless someone goes to Edit and it fails when they try to save). Would this be a trivial feature to support? |
assigning to @scolapasta to answer @posixeleni 's question |
That is effectively what is happening - it is failing on an edit. But the edit is a file edit and not a metadata edit. We could consider using the N/A values somehow. But we don't really want to modify the older versions, so maybe when the draft gets created, it creates these N/A values. Like I said, tricky. Will discuss with @posixeleni next week and figure out something for beta 14 or 15. |
Related to #2062 as that is the API error happening for this |
This may be related to this existing issue. I’m getting a “Dataset Save Failed” error when attempting to add data to a study with preexisting data files. Error Message: Also the preexisting files are labeled with this message: The dataset and the files with the MD5 error message were migrated from 3.6. |
A user requested that until we can resolve this issue some help text (or pop-up) like what I send to users would be helpful since we ( @suenjedt @sbarbosadataverse ) have received multiple support tickets where the user had no idea where to go and edit the "Subject"
|
Related to #2190. |
Need to have a meeting ASAP to finalize ideas for both this and #2062 |
Since we have caused this usability issue by requiring subject and contact email now, we need to make it as easy as possible for users to be able to upload + edit files and terms without losing their work and making them go to the Edit Metadata section of their dataset. I am proposing we figure out how to have a pop up that appears when a user clicks Save on the Files or Terms page that has subject field and the contact email field for them to fill in. Workflow: Will create mockups in Balsamiq and link here to show how this should be done in the UI. cc: @mcrosas @posixeleni @scolapasta |
After discussing with @sbarbosadataverse @kcondon @eaquigley we decided to modify the workflow to allow save on these pages and use N/A. This was opened as issue #2448. |
This essentially works with one exception: You cannot create a draft by uploading files when there is a required field not filled in. I will open this as a separate issue. Closing |
File upload fails silently in a preexisting dataset, in a dataverse that I had recently changed the general information on to now include the GSD metadata block, which has required fields.
The text was updated successfully, but these errors were encountered: