diff --git a/dspace-server-webapp/src/main/java/org/dspace/app/rest/submit/step/validation/COARNotifyValidation.java b/dspace-server-webapp/src/main/java/org/dspace/app/rest/submit/step/validation/COARNotifyValidation.java index 4b21b66ecf8e..1b33e1ac3723 100644 --- a/dspace-server-webapp/src/main/java/org/dspace/app/rest/submit/step/validation/COARNotifyValidation.java +++ b/dspace-server-webapp/src/main/java/org/dspace/app/rest/submit/step/validation/COARNotifyValidation.java @@ -59,6 +59,7 @@ public List validate(SubmissionService submissionService, InProgressS services.get(i) .getInboundPatterns() .stream() + .filter(inboundPattern -> inboundPattern.getPattern().equals(pattern)) .filter(inboundPattern -> !inboundPattern.isAutomatic() && !inboundPattern.getConstraint().isEmpty()) .forEach(inboundPattern -> {