diff --git a/src/main/java/de/thm/arsnova/controller/ConfigurationController.java b/src/main/java/de/thm/arsnova/controller/ConfigurationController.java index ab137e017b4e3e45c96d32bdf066d1d9a06accc8..37d873bbdb3ed7803e101043485a51b97aa09e04 100644 --- a/src/main/java/de/thm/arsnova/controller/ConfigurationController.java +++ b/src/main/java/de/thm/arsnova/controller/ConfigurationController.java @@ -72,7 +72,7 @@ public class ConfigurationController extends AbstractController { @Value("${features.question-format.grid-square.enabled:false}") private String gridSquareEnabled; - @Value("${question.answerOptionLimit:8}") + @Value("${question.answer-option-limit:8}") private String answerOptionLimit; @Value("${question.parse-answer-option-formatting:false}") diff --git a/src/main/webapp/arsnova.properties.example b/src/main/webapp/arsnova.properties.example index 1f76e549bf819186ba8d69f3cd3f1726b9d6aaf2..9d37439e98c0965f8c27e86b9659b97707ec6ff4 100644 --- a/src/main/webapp/arsnova.properties.example +++ b/src/main/webapp/arsnova.properties.example @@ -168,7 +168,7 @@ feedback.cleanup=10 upload.filesize_b=1048576 # maximal number of answer options allowed for a skill question -question.answerOptionLimit=8 +question.answer-option-limit=8 # Enable Markdown and MathJax parsing in answer options. Formatting in answer # options should be used cautiously since it could lead to display errors. diff --git a/src/test/resources/arsnova.properties.example b/src/test/resources/arsnova.properties.example index 1f76e549bf819186ba8d69f3cd3f1726b9d6aaf2..9d37439e98c0965f8c27e86b9659b97707ec6ff4 100644 --- a/src/test/resources/arsnova.properties.example +++ b/src/test/resources/arsnova.properties.example @@ -168,7 +168,7 @@ feedback.cleanup=10 upload.filesize_b=1048576 # maximal number of answer options allowed for a skill question -question.answerOptionLimit=8 +question.answer-option-limit=8 # Enable Markdown and MathJax parsing in answer options. Formatting in answer # options should be used cautiously since it could lead to display errors.