Skip to content

Commit

Permalink
Merged in CST-12823-submission-form-validation (pull request DSpace#1383
Browse files Browse the repository at this point in the history
)

CST-12823 item sub coar form validation
  • Loading branch information
frabacche committed Nov 30, 2023
2 parents f4abd63 + 2178d19 commit 6c8f2ab
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ public List<ErrorRest> validate(SubmissionService submissionService, InProgressS
services.get(i)
.getInboundPatterns()
.stream()
.filter(inboundPattern -> inboundPattern.getPattern().equals(pattern))
.filter(inboundPattern -> !inboundPattern.isAutomatic() &&
!inboundPattern.getConstraint().isEmpty())
.forEach(inboundPattern -> {
Expand Down

0 comments on commit 6c8f2ab

Please sign in to comment.