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

Missing help string [aggregationcoef_help, grades]

XMLWordPrintable

    • MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
    • Hide

      Setup

      Make sure outcomes are enabled for the site:

      1. Go to Site administration > Advanced features
      2. Check that "Enable outcomes" is enabled, if not enable it and click on "Save changes"

      Make sure your course has an outcome:

      1. Navigate to your course > Grades > Outcomes tab
      2. Under the "Outcomes used in this course, select one. If none are available then;
      3. Under the "Edit outcomes tab" Click on "Add a new outcome"
      4. Enter in required fields and click on "Save changes"
      5. Now go back to the "Outcomes used in this course" and add your newly created outcome

      Testing

      1. Ensure the debugging is enabled
      2. Open Course
      3. Navigate to its Gradebook
      4. Create a new Grade category
      5. Click the "Add outcome item" button
        1. Confirm that no errors are shown on the page
      6. Click on the help icon for "Aggregation co-efficient"
        1. Confirm that the text is meaningful
      Show
      Setup Make sure outcomes are enabled for the site: Go to Site administration > Advanced features Check that "Enable outcomes" is enabled, if not enable it and click on "Save changes" Make sure your course has an outcome: Navigate to your course > Grades > Outcomes tab Under the "Outcomes used in this course, select one. If none are available then; Under the "Edit outcomes tab" Click on "Add a new outcome" Enter in required fields and click on "Save changes" Now go back to the "Outcomes used in this course" and add your newly created outcome Testing Ensure the debugging is enabled Open Course Navigate to its Gradebook Create a new Grade category Click the "Add outcome item" button Confirm that no errors are shown on the page Click on the help icon for "Aggregation co-efficient" Confirm that the text is meaningful
    • 1
    • 4.0 holding pattern 11, 4.0 holding pattern 12

      The help text string for the "Aggregation coefficient" field in the gradebook is missing, and setType() is not called.

      Help contents string does not exist: [aggregationcoef_help, grades]
       
          line 469 of /lib/outputcomponents.php: call to debugging()
          line 2168 of /lib/outputrenderers.php: call to help_icon->diag_strings()
          line 1895 of /lib/formslib.php: call to core_renderer->help_icon()
          line 146 of /grade/edit/tree/outcomeitem_form.php: call to MoodleQuickForm->addHelpButton()
          line 191 of /lib/formslib.php: call to edit_outcomeitem_form->definition()
          line 55 of /grade/edit/tree/outcomeitem.php: call to moodleform->moodleform()
       
      Did you remember to call setType() for 'aggregationcoef'? Defaulting to PARAM_RAW cleaning.
       
          line 1312 of /lib/formslib.php: call to debugging()
          line 284 of /lib/formslib.php: call to moodleform->detectMissingSetType()
          line 202 of /lib/formslib.php: call to moodleform->_process_submission()
          line 55 of /grade/edit/tree/outcomeitem.php: call to moodleform->moodleform()
      

      To reproduce:

      • Navigate to the gradebook for a test course (site must also have at least one outcome setup)
      • Select the "Setup -> Categories and items" report
      • Click "Add category"
      • Enter a name and select an aggregation of "Mean of grades (with extra credits)"
      • Click "Save changes"
      • Click "Add outcome item"
      • Click the help icon next to "Aggregation coefficient" in the "Parent category" fieldset

            Unassigned Unassigned
            evanirvingpease Evan Irving-Pease (Inactive)
            Marcus Boon Marcus Boon
            Andrew Lyons Andrew Lyons
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 40 minutes
                1h 40m

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