76575: ITs for deleting items and populating virtual metadata

This commit is contained in:
Marie Verdonck
2021-01-29 17:23:49 +01:00
parent be48c56cae
commit e32fd1fc4c
3 changed files with 254 additions and 54 deletions

View File

@@ -377,7 +377,7 @@ public class RelationshipServiceImpl implements RelationshipService {
authorizeService.authorizeActionBoolean(context, relationship.getRightItem(), Constants.WRITE)) {
relationshipDAO.delete(context, relationship);
updatePlaceInRelationship(context, relationship);
updateItemsInRelationship(context, relationship);
updateItemsInRelationship(context, relationship);
} else {
throw new AuthorizeException(
"You do not have write rights on this relationship's items");