diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/dao/impl/ExamTemplateDAOImpl.java b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/dao/impl/ExamTemplateDAOImpl.java index da0eed2a..554db721 100644 --- a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/dao/impl/ExamTemplateDAOImpl.java +++ b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/dao/impl/ExamTemplateDAOImpl.java @@ -185,6 +185,7 @@ public class ExamTemplateDAOImpl implements ExamTemplateDAO { return Result.tryCatch(() -> { checkUniqueName(data); + checkUniqueDefault(data); final Collection indicatorTemplates = data.getIndicatorTemplates(); final String indicatorsJSON = (indicatorTemplates != null && !indicatorTemplates.isEmpty())