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

creator and contact elements are not being written #1203

Closed
jeanetteclark opened this issue Dec 4, 2019 · 1 comment
Closed

creator and contact elements are not being written #1203

jeanetteclark opened this issue Dec 4, 2019 · 1 comment
Assignees
Labels
Milestone

Comments

@jeanetteclark
Copy link
Collaborator

As far as I can tell, trying to submit any kind of dataset results in invalid EML because the creator and contact elements are not being written for some reason. Tested on dev.nceas, bug originally found on Arctic production

Error inserting or updating document: urn:uuid:a039df10-e9cb-44ae-82c9-1a85f9e5daa3 since <?xml version="1.0"?><error>cvc-complex-type.2.4.a: Invalid content was found starting with element 'abstract'. One of '{title, creator}' is expected.</error>

@dmullen17
Copy link
Member

I was able to successfully submit a dummy package to production, edit the title, and add a data file (3 different metadata versions). Final version is here: https://arcticdata.io/catalog/view/urn:uuid:dd54cff4-75e0-4c7f-a09f-b1c90ef09083.

The original bug was found by Seth Robinson when he tried to add a data file to this submission: https://arcticdata.io/catalog/view/urn:uuid:51a93676-d46d-4519-83fb-008da7b83cde. Something to note: there isn't a resource map because I cloned that metadata file for him to edit.

laurenwalker added a commit that referenced this issue Dec 4, 2019
@laurenwalker laurenwalker added this to the 2.8.1 milestone Dec 4, 2019
@laurenwalker laurenwalker self-assigned this Dec 4, 2019
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

3 participants