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

Rename the string invalidgradeitmeid to invalidgradeitemid

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.1.6, 2.2.3
    • 2.1.5, 2.2.2, 2.3
    • Gradebook
    • MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • MOODLE_21_STABLE, MOODLE_22_STABLE
    • MDL-32192_rename_string
    • Hide

      Testing this is a little bit bogus. The easiest way is to go into grade/report/grader/lib.php Comment out the continue at line 198. Also comment out the if around print_error('invalidgradeitemid');

      Now viewing the grader report should display a message saying "Incorrect grade item id"

      Remove your code changes and check that you can view the grader report without error.

      Turn editing on, enter a grade for a student, click update. Check that the grade was saved.

      Show
      Testing this is a little bit bogus. The easiest way is to go into grade/report/grader/lib.php Comment out the continue at line 198. Also comment out the if around print_error('invalidgradeitemid'); Now viewing the grader report should display a message saying "Incorrect grade item id" Remove your code changes and check that you can view the grader report without error. Turn editing on, enter a grade for a student, click update. Check that the grade was saved.

      What is an itme ID? It should be item ID. Rename the string. It is used in a few places and some amos code will also be necessary.

      The string is in the grades lang file.

            andyjdavis Andrew Davis
            andyjdavis Andrew Davis
            Dan Poltawski Dan Poltawski
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Rajesh Taneja Rajesh Taneja
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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