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

Setting Course "Show gradebook to students" to No prevents display of Final Lesson page!

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.9.19, 2.1.9, 2.2.6, 2.3.3, 2.4, 2.7.3, 2.8.1, 2.9
    • 2.7.5, 2.8.3
    • Lesson
    • MOODLE_19_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
    • MOODLE_27_STABLE, MOODLE_28_STABLE
    • Hide
      • create a lesson with some content pages (you can also add questions it doesn't mind the page types as long as the lesson is not empty)
      • as a student, attempt the lesson and verify that at the end you see the end of lesson page (the one with "Congratulations")
      • Verify that the link to the grade book is only displayed if 4 conditions are met:
      1. the lesson is not a practice lesson
      2. the lesson grade is not 0 (but the link should be displayed if the lesson use a scale)
      3. the student has the gradereport/user:view capability
      4. At course level, in to Course Administration -> Edit settings in the "Appareance" section the "Show gradebook to students" is set to "Yes"

      Verify that when all these conditions are true, the link to gradebook is working and the gradebook report is displayed.

      Show
      create a lesson with some content pages (you can also add questions it doesn't mind the page types as long as the lesson is not empty) as a student, attempt the lesson and verify that at the end you see the end of lesson page (the one with "Congratulations") Verify that the link to the grade book is only displayed if 4 conditions are met: the lesson is not a practice lesson the lesson grade is not 0 (but the link should be displayed if the lesson use a scale) the student has the gradereport/user:view capability At course level, in to Course Administration -> Edit settings in the "Appareance" section the "Show gradebook to students" is set to "Yes" Verify that when all these conditions are true, the link to gradebook is working and the gradebook report is displayed.

    Description

      See this discussion: https://moodle.org/mod/forum/discuss.php?d=216250
      This bug probably dates back from the Moodle 1 versions, but has been carried to Moodle 2 (all versions).
      I am providing a patch with a very easy fix.
      Joseph

      Attachments

        Issue Links

          Activity

            People

              jmvedrine Jean-Michel Vedrine
              rezeau Joseph Rézeau
              Adrian Greeve Adrian Greeve
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Ankit Agarwal Ankit Agarwal
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                2/Feb/15