Open philippcle opened 1 year ago
This issue affects at least DS CRIS 2023.01 and 2022.03.
The issue that empty MD fields with the required
-property are accepted when these fields are associated with a type-bind is also fixed by this PR.
It is important to point out that the problem only occurs if you have implemented the type bind using the COAR vocabulary.
In the current version of DSpace-CRIS-7, it is not possible to store values in MD fields that are associated with type-bind. This is because the
validate
method inMetadataValidator.java
uses the value of DocumentType, but in DSpace-CRIS-7 the DocumentType is controlled by the controlled-vocabularypublication-coar-types
. Therefore, thevalidate
method must use the authority of the DocumentType.