dataquest-dev / dspace-import

Blackbox tests for dspace repository
Other
0 stars 2 forks source link

UFAL/PY-confidence and authority columns from metadatavalue table are not imported #80

Closed milanmajchrak closed 1 year ago

milanmajchrak commented 1 year ago

Confidence difference e.g., text_value = 'info:eu-repo/grantAgreement/EC/H2020/645452' Authority difference e.g., text_value = 'info:eu-repo/grantAgreement/EC/FP7/212230/EU' - this metadata belongs to the Item which is workspace, or workflow.

milanmajchrak commented 1 year ago

I found out the confidence and authority is changed only for the dc.relation metadatafield and it is not imported, because of check if (authorityControlled) https://github.com/dataquest-dev/DSpace/blob/dtq-dev/dspace-api/src/main/java/org/dspace/content/DSpaceObjectServiceImpl.java#L270 . This if statement will be true if the dc.relation will be configured as authority.controlled.dc.relation = true in the same way like in the CLARIN-DSpace5 https://github.com/ufal/clarin-dspace/blob/clarin/dspace/config/dspace.cfg#L1706

Updating the dspace.cfg should solve this problem.