Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.9.4, 2.0, 2.2.3, 2.3
    • Fix Version/s: 2.2.5, 2.3.2
    • Component/s: Gradebook, Quiz
    • Labels:
    • Database:
      Any
    • Testing Instructions:
      Hide

      1. Create a quiz and untick 'marks' in Review settings
      2. Create a new assignment
      3. Login as the student, attempt the quiz and assignment
      4. Go to the gradebook and make sure you do not see your grade
      5. Login as an admin, go to the gradebook and turn editing on.
      6. Give a grade on the assignment of the student
      7. Click on the edit button right below the quiz name
      8. Make sure you can't update the 'hidden' status, and that it displays 'Whether this grade item is hidden is controlled by the activity settings.'
      9. Click on the edit button right under the assignment name
      10. Make sure:

      • You can tick/untick 'hidden' for this grade
      • If you tick it, the student do not see the grade in his gradebook
      • If you untick it, the student can see his grade

      11. As an admin, go to the quiz settings and tick the 'Mark' checkbox
      12. As a student, make sure you now can see your grade in the gradebook

      Show
      1. Create a quiz and untick 'marks' in Review settings 2. Create a new assignment 3. Login as the student, attempt the quiz and assignment 4. Go to the gradebook and make sure you do not see your grade 5. Login as an admin, go to the gradebook and turn editing on. 6. Give a grade on the assignment of the student 7. Click on the edit button right below the quiz name 8. Make sure you can't update the 'hidden' status, and that it displays 'Whether this grade item is hidden is controlled by the activity settings.' 9. Click on the edit button right under the assignment name 10. Make sure: You can tick/untick 'hidden' for this grade If you tick it, the student do not see the grade in his gradebook If you untick it, the student can see his grade 11. As an admin, go to the quiz settings and tick the 'Mark' checkbox 12. As a student, make sure you now can see your grade in the gradebook
    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-18301-master

      Description

      When you attempt to hide the grades of a quiz, the "hidden" checkbox does not stay checked even after saving.

      How to reproduce.

      1. With a course which has a quiz, go to the gradebook
      2. Turn editing on and click the edit button under the quiz to edit the quiz grade item.
      3. Check the "Hidden" checkbox
      4. Save changes
      5. Click on the edit button again to verify whether the setting was actually saved or not.

      You will see that it doesn't save. I reproduced this on our own installation as well as the demo.moodle.org installation.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  17 Vote for this issue
                  Watchers:
                  16 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    10/Sep/12