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

Grade book makes reference to missing string.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.8, 2.1, 2.2.2, 3.2.3
    • Fix Version/s: 3.2.4, 3.3.1
    • Component/s: Gradebook
    • Labels:
    • Testing Instructions:
      Hide
      1. Login to Moodle.
      2. Enter "http://[your_moodle_site]/grade/report/singleview/index.php?id=[NONEXISTENT_COURSE_ID]" to your browser's address bar.
        • Confirm that you see the error message

          You are trying to use an invalid course ID
          

          instead of

          error/nocourseid
          

      3. Grep the Moodle code base for the occurrences of the string 'nocourseid'.
        • Confirm that there are no instances found.
      Show
      Login to Moodle. Enter " http://[your_moodle_site]/grade/report/singleview/index.php?id=[NONEXISTENT_COURSE_ID ] " to your browser's address bar. Confirm that you see the error message You are trying to use an invalid course ID instead of error/nocourseid Grep the Moodle code base for the occurrences of the string 'nocourseid'. Confirm that there are no instances found.
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE, MOODLE_33_STABLE
    • Pull Master Branch:
      MDL-32151-master

      Description

      The gradebook makes numerous calls to print_error('nocourseid'), which does not exist in the error language file.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  10/Jul/17