-
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
sword/native api mismatch for data deposit #921
Comments
All these fields are discussed in "Dataverse 4.0 Data Deposit API Backward Compatibility and Migration Guide for Collaborators" at https://docs.google.com/document/d/11DpdKyp1tagmaJAAzRqQBEZEZ69WOOOYsoqhz8UsfNM/edit?usp=sharing I'll move this ticket to QA when I'm finished testing. |
@scolapasta I need help with this. If you look at 19ae153 I'm obviously doing something wrong with controlled vocabulary because "Other" appears twice: |
We don't have a way to express "Contact E-mail" or "Subject" in dcterms so we now populate the former with the email address of the parent dataverse and the later with "Other". (The longer term plan in #769 is to have datasets created by SWORD inherit the subject of the parent dataverse.) Centralized validation is being worked on in #605 but for now some quick and dirty validation is in place. If you try to create a dataset without any dcterms:creator elements, for example, you should get the error "Can't create/update dataset. http://purl.org/dc/terms/ equivalent of required field not found: authorName". Moving to QA (though I haven't looked at the native API at all... maybe that should be a separate ticket). |
when creating dataset via sword, required fields email and subject are auto completed with creator email and subject other. |
issue resolved |
@esotiri can you please also test other required fields? In some cases, the required field is not auto-completed. Rather, you should expect to see an error indicating that the field is required. In addition, there's some discussion at #457 (comment) with @posixeleni over create vs. edit. These are the fields that were possible in DVN 3.6: https://github.com/IQSS/dvn/blob/develop/doc/sphinx/source/dataverse-api-main.rst#data-deposit-api We can't use dcterms:rights yet, per #805. |
create a study-missmatch: Below is the result of sword error: equivalent of required field not found
|
(may be a duplicate)
The SWORD data deposit API does not require contact email or subject.
However, the GUI does require these fields.
The text was updated successfully, but these errors were encountered: