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

Add events when scales and letters are managed

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7, 3.3, 3.4
    • Fix Version/s: 3.5
    • Component/s: Gradebook, Logging
    • Labels:
    • Testing Instructions:
      Hide

      Automated testing (CiBoT will detect any problem, no manual action is needed):
      1. Run unit tests: vendor/bin/phpunit core_grade_events_test grade/tests/events_test.php
      2. Run the behat tests: grade/tests/behat/grade_letter_logging.feature and grade/tests/behat/grade_scales_logging.feature

      Manual testing:
      1. Open "Live logs" or "Logs" report
      2. In a course create and update a scale. Make sure there are no notices or errors, and each action is reflected in the logs report. Make sure the links from the logs report go to the editing page for the affected scale and he event context is the course.
      3. Delete a scale in the course. Make sure the event appeared in the log report and there is no link to the scale. Make sure the event context is the course.
      4. In a course create and update grade letters. Make sure there are no notices or errors, and each action is reflected in the logs report. Make sure the links from the logs report go to the editing page for the affected letter and the event context is the course.
      5. Delete a grade letter in the course. Make sure the event appeared in the log report and there is no link to the grade letter. Make sure the event context is the course.
      6. Repeat steps 1-5 on the site level. Verify that event context is "system" for all six types of events.

      Show
      Automated testing (CiBoT will detect any problem, no manual action is needed): 1. Run unit tests: vendor/bin/phpunit core_grade_events_test grade/tests/events_test.php 2. Run the behat tests: grade/tests/behat/grade_letter_logging.feature and grade/tests/behat/grade_scales_logging.feature Manual testing: 1. Open "Live logs" or "Logs" report 2. In a course create and update a scale. Make sure there are no notices or errors, and each action is reflected in the logs report. Make sure the links from the logs report go to the editing page for the affected scale and he event context is the course. 3. Delete a scale in the course. Make sure the event appeared in the log report and there is no link to the scale. Make sure the event context is the course. 4. In a course create and update grade letters. Make sure there are no notices or errors, and each action is reflected in the logs report. Make sure the links from the logs report go to the editing page for the affected letter and the event context is the course. 5. Delete a grade letter in the course. Make sure the event appeared in the log report and there is no link to the grade letter. Make sure the event context is the course. 6. Repeat steps 1-5 on the site level. Verify that event context is "system" for all six types of events.
    • Affected Branches:
      MOODLE_27_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_35_STABLE
    • Epic Link:
    • Pull from Repository:
    • Pull Master Branch:
      MDL-45837_master

      Description

      Site administration>Grades>Scales
      Need events when scales are created/updated/deleted

      Site administration>Grades>Letters
      Need event when letters are updated

      both can also exist in course context

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sbourget Stephen Bourget
              Reporter:
              marina Marina Glancy
              Peer reviewer:
              Mark Nelson
              Integrator:
              David Monllaó
              Tester:
              Helen Foster
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                17/May/18