1
0
Fork 0

translate 'otherresearchproduct' into 'other' when setting the related record type

This commit is contained in:
Claudio Atzori 2024-10-28 10:42:46 +01:00
parent 32fa579b80
commit 6fd50266f1
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ public class ProvisionModelSupport {
RelatedRecord rr = new RelatedRecord(); RelatedRecord rr = new RelatedRecord();
final RelatedEntity re = rew.getTarget(); final RelatedEntity re = rew.getTarget();
final RecordType relatedRecordType = RecordType.valueOf(re.getType()); final RecordType relatedRecordType = RecordType.fromString(re.getType());
final Relation relation = rew.getRelation(); final Relation relation = rew.getRelation();
final String relationProvenance = Optional final String relationProvenance = Optional
.ofNullable(relation.getDataInfo()) .ofNullable(relation.getDataInfo())