mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-17 23:13:10 +00:00
CST-12865 Automatic inbound patterns don’t send an LDN if an item filter is not selected
This commit is contained in:
@@ -102,7 +102,7 @@ public class LDNMessageConsumer implements Consumer {
|
||||
List<NotifyServiceInboundPattern> inboundPatterns = inboundPatternService.findAutomaticPatterns(context);
|
||||
|
||||
for (NotifyServiceInboundPattern inboundPattern : inboundPatterns) {
|
||||
if (inboundPattern.getConstraint() == null ||
|
||||
if (StringUtils.isEmpty(inboundPattern.getConstraint()) ||
|
||||
evaluateFilter(context, item, inboundPattern.getConstraint())) {
|
||||
createLDNMessage(context, item, inboundPattern.getNotifyService(), inboundPattern.getPattern());
|
||||
}
|
||||
|
Reference in New Issue
Block a user