Fix #454: Add end-to-end tests for the plugin-related SoftwareMetadata API#456
Fix #454: Add end-to-end tests for the plugin-related SoftwareMetadata API#456sdruskat wants to merge 69 commits intorefactor/423-implement-public-apifrom
SoftwareMetadata API#456Conversation
f45d9b4 to
9be8041
Compare
|
Re-opening after rebase on correct branch. |
|
Findings from user test (tested in poetry environment on command line):
deposit step:
|
|
Could you please provide more information on this error?
|
That is the only information provided for this error: |
|
Okay, I think I found the error and hopefully fixed it. Please let me know if the commit didn't fix it. |
|
Yes, this error is gone. Now I'm getting |
Ok so this error comes from invenio.py line 216: where license_url is in my case {"@id": "{license}"}, so this error triggers |
|
After giving the correct input (using license_url["@id]) it worked, but if your case has different input, we should find the source for this problem. |
|
According to schema the values for the license property are URLs or CreativeWork objects. |
|
Yeah but why is it passed like that, is the real question right. is it in the expanded.json from the curate step |
|
I don't know why this was (and still is) a requirement for the harvest and process steps. |
This information about the license being an ID is actually contained in the codemeta context: https://github.com/codemeta/codemeta/blob/13bb230d250775026691a102a24b97dea7669bf6/codemeta.jsonld#L44 |
|
Nice now it works:
|
No description provided.