1
0
Fork 0

[Person]fix issue in affiliation relation id construction for person (missing ::)

This commit is contained in:
Miriam Baglioni 2024-08-12 18:04:43 +02:00
parent 8c185a7b1a
commit 89fcf4086c
1 changed files with 1 additions and 1 deletions

View File

@ -297,7 +297,7 @@ public class ExtractPerson implements Serializable {
}
private static Relation getAffiliationRelation(Employment row) {
String source = PERSON_PREFIX + IdentifierFactory.md5(row.getOrcid());
String source = PERSON_PREFIX + "::" + IdentifierFactory.md5(row.getOrcid());
String target = ROR_PREFIX
+ IdentifierFactory.md5(PidCleaner.normalizePidValue("ROR", row.getAffiliationId().getValue()));
List<KeyValue> properties = new ArrayList<>();