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

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.19, 2.1.9, 2.2.6, 2.3.3, 2.4, 2.7.3, 2.8.1, 2.9
    • Fix Version/s: 2.7.5, 2.8.3
    • Component/s: Lesson
    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE
    • Pull Master Branch:

      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

              Assignee:
              jmvedrine Jean-Michel Vedrine
              Reporter:
              rezeau Joseph Rézeau
              Peer reviewer:
              Adrian Greeve
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Ankit Agarwal
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                2/Feb/15