From a3a2e9ee3eec9cbd6e075a4be57f1b42a8a15c69 Mon Sep 17 00:00:00 2001 From: Vincenzo Mecca Date: Mon, 14 Oct 2024 16:18:53 +0200 Subject: [PATCH] [DSC-1848] Fixes EditItemLinkRestRepository component definition name --- .../rest/repository/EditItemCollectionLinkRestRepository.java | 2 +- .../app/rest/repository/EditItemItemLinkRestRepository.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dspace-server-webapp/src/main/java/org/dspace/app/rest/repository/EditItemCollectionLinkRestRepository.java b/dspace-server-webapp/src/main/java/org/dspace/app/rest/repository/EditItemCollectionLinkRestRepository.java index d1a020ccdfe..26938e949b9 100644 --- a/dspace-server-webapp/src/main/java/org/dspace/app/rest/repository/EditItemCollectionLinkRestRepository.java +++ b/dspace-server-webapp/src/main/java/org/dspace/app/rest/repository/EditItemCollectionLinkRestRepository.java @@ -22,7 +22,7 @@ * * @author Vincenzo Mecca (vins01-4science - vincenzo.mecca at 4science.com) **/ -@Component(EditItemRest.CATEGORY + "." + EditItemRest.NAME + "." + EditItemRest.COLLECTION) +@Component(EditItemRest.CATEGORY + "." + EditItemRest.NAME_PLURAL + "." + EditItemRest.COLLECTION) public class EditItemCollectionLinkRestRepository extends AbstractEditItemLinkRestRepository implements LinkRestRepository { diff --git a/dspace-server-webapp/src/main/java/org/dspace/app/rest/repository/EditItemItemLinkRestRepository.java b/dspace-server-webapp/src/main/java/org/dspace/app/rest/repository/EditItemItemLinkRestRepository.java index b7fa1c3e41c..25f835ad555 100644 --- a/dspace-server-webapp/src/main/java/org/dspace/app/rest/repository/EditItemItemLinkRestRepository.java +++ b/dspace-server-webapp/src/main/java/org/dspace/app/rest/repository/EditItemItemLinkRestRepository.java @@ -22,7 +22,7 @@ * * @author Vincenzo Mecca (vins01-4science - vincenzo.mecca at 4science.com) **/ -@Component(EditItemRest.CATEGORY + "." + EditItemRest.NAME + "." + EditItemRest.ITEM) +@Component(EditItemRest.CATEGORY + "." + EditItemRest.NAME_PLURAL + "." + EditItemRest.ITEM) public class EditItemItemLinkRestRepository extends AbstractEditItemLinkRestRepository implements LinkRestRepository { /**