forked from D-Net/dnet-hadoop
translate 'otherresearchproduct' into 'other' when setting the related record type
This commit is contained in:
parent
32fa579b80
commit
6fd50266f1
|
@ -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())
|
||||||
|
|
Loading…
Reference in New Issue