Issue #1169 automatic submission#1
Conversation
|
Created a library for Ingestion of Submission data in: Pull Request: #1 |
|
Some fields ( |
Good comment @matyaskopp Yes, will try to improve this. I agree. |
|
I tried to extend metadata.csv with some missing values that were reported by the API: {'message': 'error.validation.license.notgranted', 'paths': ['/sections/license']},
{'message': 'error.validation.clarin-license.notgranted', 'paths': ['/sections/clarin-license']}Script is processing correctly only the values that are part of the array in DSpace, like: {'op': 'add', 'path': '/sections/traditionalpageone/dc.type', 'value': [{'value': 'corpus'}]}But when I want to add a scalar like: __section__,license
granted,trueit produces {'op': 'add', 'path': '/sections/license/granted', 'value': [{'value': 'true'}]}which raises an API error {"timestamp":"2025-12-18T14:33:58.054+00:00","status":500,"error":"Internal Server Error","message":"An exception has occurred","path":"/repository/server/api/submission/workspaceitems/5955"}The correct transformation is {"op":"add","path":"/sections/license/granted","value":"true"} |
|
Thanks @matyaskopp for testing. |
…lues, clarin licenses, metadata types
Updated README.md file with the latest changes regarding submission-template file.
|
Regarding fields like ( The template now contains the format of those fields. This particularly mean local.contact.person and local.sponsor are both complex fields consisting of 4 values separated by semicolon: See also the updated README file. |
|
Also fixed the errors reated to "/sections/license" and "/sections/clarin-license" Both of these sections are now included in submission template file, including list of all available licenses. See the updated README file. |
Allow to add extra spaces before values, allow to ann newline (\n) characters to text area field.
Python library for Automatic Ingestion of Submission Data.
See the README file.