Made sure that the relation.X name is always added to the item for every relationship that it has

This commit is contained in:
Raf Ponsaerts
2018-11-06 11:34:50 +01:00
parent 75358b2bdd
commit d8ced6aa7d

View File

@@ -1347,6 +1347,7 @@ prevent the generation of resource policy entry values with null dspace_object a
resultingMetadataValueList.addAll(handleRelationshipTypeMetadataMappping(item, hashMaps,
otherItem, relationName));
}
resultingMetadataValueList.add(getRelationMetadataFromOtherItem(otherItem, relationName));
return resultingMetadataValueList;
}
@@ -1365,8 +1366,6 @@ prevent the generation of resource policy entry values with null dspace_object a
resultingMetadataValueList.add(metadataValue);
}
}
resultingMetadataValueList.add(getRelationMetadataFromOtherItem(otherItem, relationName));
return resultingMetadataValueList;
}