-
Bug
-
Resolution: Fixed
-
Minor
-
4.2.7, 4.3.4, 4.4
Steps to replicate:
- Create a quiz
- Add a question with a calculated type
- Fill in the Question name and Question text with anything
- Keep the "Answer 1 formula = " is empty
- Specify the grade for the first answer with 100%
- Save the changes
Expected:
There is no debug message
Actual:
There is a debug message
Invalid get_string() identifier: 'mustenteraformulaorstar' or component 'qtype_numerical'. Perhaps you are missing $string['mustenteraformulaorstar'] = ''; in /question/type/numerical/lang/en/qtype_numerical.php?
|
line 355 of /lib/classes/string_manager_standard.php: call to debugging()
|
line 7012 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
|
line 279 of /question/type/calculated/edit_calculated_form.php: call to get_string()
|
line 307 of /question/type/numerical/edit_numerical_form.php: call to qtype_calculated_edit_form->valid_answer_message()
|
line 274 of /question/type/numerical/edit_numerical_form.php: call to qtype_numerical_edit_form->validate_answers()
|
line 233 of /question/type/calculated/edit_calculated_form.php: call to qtype_numerical_edit_form->validation()
|
line 674 of /lib/formslib.php: call to qtype_calculated_edit_form->validation()
|
line 610 of /lib/formslib.php: call to moodleform->validate_defined_fields()
|
line 720 of /lib/formslib.php: call to moodleform->is_validated()
|
line 248 of /question/bank/editquestion/question.php: call to moodleform->get_data()
|