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

Rename the string invalidgradeitmeid to invalidgradeitemid

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.5, 2.2.2, 2.3
    • Fix Version/s: 2.1.6, 2.2.3
    • Component/s: Gradebook
    • Labels:
    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Pull Master Branch:
      MDL-32192_rename_string

      Description

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  14/May/12