mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 07:23:08 +00:00
Made sure that the relation.X name is always added to the item for every relationship that it has
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user