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

Grade book makes reference to missing string.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.8, 2.1, 2.2.2, 3.2.3
    • 3.2.4, 3.3.1
    • Gradebook
    • MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_32_STABLE
    • MOODLE_32_STABLE, MOODLE_33_STABLE
    • MDL-32151-master
    • 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.

    Description

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

      Attachments

        Issue Links

          Activity

            People

              jpataleta Jun Pataleta
              markn Mark Nelson
              Mark Nelson Mark Nelson
              David Monllaó David Monllaó
              Damyon Wiese Damyon Wiese
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                10/Jul/17