Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-81543

Question calculated type: Missing mustenteraformulaorstar lang string identifier

XMLWordPrintable

      Steps to replicate:

      1. Create a quiz
      2. Add a question with a calculated type
      3. Fill in the Question name and Question text with anything
      4. Keep the "Answer 1 formula = " is empty
      5. Specify the grade for the first answer with 100%
      6. 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()
      

       

            pholden Paul Holden
            meirza.arson@moodle.com Meirza
            Luca Bösch Luca Bösch
            Tim Hunt Tim Hunt
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 46 minutes
                46m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.