seek4science / seek

For finding, sharing and exchanging Data, Models, Simulations and Processes in Science.
http://www.seek4science.org
BSD 3-Clause "New" or "Revised" License
74 stars 52 forks source link

Workflow upload failure: family_name/orcid has already been taken #1927

Open hexylena opened 2 weeks ago

hexylena commented 2 weeks ago

Describe the bug

When uploading an RO-Crate I'm seeing the following error message:

{"errors":[{"source":{"pointer":"/data/relationships/assets_creators"},"detail":"orcid has already been taken"},{"source":{"pointer":"/data/relationships/assets_creators"},"detail":"family_name has already been taken"},{"source":{"pointer":"/data/relationships/assets_creators"},"detail":"family_name has already been taken"}]}

This only occurs when I have creator information in the ro-crate-metadata.json and the workflow.ga file. If i remove the metadata from the workflow.ga, then it can be uploaded.

To Reproduce

Steps to reproduce the behavior:

  1. POST the ro-crate from slack to /workflows/submit

Expected behavior

It uploads

Desktop (please complete the following information):