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

Assignments with advanced grading do not display the grade penalty indicator

XMLWordPrintable

    • MOODLE_500_STABLE
    • MOODLE_500_STABLE
    • MDL-85062-main-1
    • Hide
      1. Go to "Grades > Grade penalties > Manage penalty plugins* in site administration:
        • Click on 'toggle' button to enable 'Late submission penalties' plugin
      2. Go to "Grades > Grade penalties > Late submission penalties > Penalty rules":
        • Create some penalty rules
      3. Go to "Grades > Grade penalties > Manage supported activities":
        • Click to select "Assignment" and save changes
      4. Create 3 assignments, each with a different grading method: Simple Direct Grading, Marking Guide, and Rubric (make sure to configure the marking guide and rubric and make them ready). Additionally, apply the following common settings to all assignments:
        • Set due date to "Yesterday" / a date in the past (Availability section)
        • Submission types: online text
        • Grade type is set to point (Grade section)
        • Enable "Grade penalties" (Grade section)
        • Allowed attempts: Unlimited (Submission settings)
        • Grant attempts: Manually (Submission settings)
      5. Enrol a student in the course
      6. Log in as the student, go to each assignment and add a submission.
      7. Log in as a teacher, grade the submission of the student and then allow another attempt in each of the assignments (note down the exact penalized grade from this attempt, we will need to compare this value later).
      8. Immediately after the new attempt has been granted, re-grade the same student in each of the assignments.
      9. Log in as the student and go to each assignment
        • Verify that there is a penalty indicator next to the shown penalized grades within the ‘Feedback’ and ‘Previous attempts’ sections
        • Verify that the grade displayed within the ‘Previous attempts’ section is the same as the penalized one from the first attempt earlier, following the same number formatting.
      Show
      Go to "Grades > Grade penalties > Manage penalty plugins* in site administration: Click on 'toggle' button to enable 'Late submission penalties' plugin Go to "Grades > Grade penalties > Late submission penalties > Penalty rules": Create some penalty rules Go to "Grades > Grade penalties > Manage supported activities": Click to select "Assignment" and save changes Create 3 assignments, each with a different grading method: Simple Direct Grading, Marking Guide, and Rubric (make sure to configure the marking guide and rubric and make them ready). Additionally, apply the following common settings to all assignments: Set due date to "Yesterday" / a date in the past (Availability section) Submission types: online text Grade type is set to point (Grade section) Enable "Grade penalties" (Grade section) Allowed attempts: Unlimited (Submission settings) Grant attempts: Manually (Submission settings) Enrol a student in the course Log in as the student, go to each assignment and add a submission. Log in as a teacher, grade the submission of the student and then allow another attempt in each of the assignments (note down the exact penalized grade from this attempt, we will need to compare this value later). Immediately after the new attempt has been granted, re-grade the same student in each of the assignments. Log in as the student and go to each assignment Verify that there is a penalty indicator next to the shown penalized grades within the ‘Feedback’ and ‘Previous attempts’ sections Verify that the grade displayed within the ‘Previous attempts’ section is the same as the penalized one from the first attempt earlier, following the same number formatting.
    • Show
      Fails against automated checks. Checked MDL-85062 using repository: https://github.com/mihailges/moodle.git main (2 errors / 0 warnings) [branch: MDL-85062-main-1 | CI Job ] overview (0/0) , phplint (0/0) , phpcs (2/0) , js (0/0) , css (0/0) , phpdoc (0/0) , commit (0/0) , savepoint (0/0) , thirdparty (0/0) , externalbackup (0/0) , grunt (0/0) , shifter (0/0) , mustache (0/0) , gherkin (0/0) , Should these errors be fixed? Built on: Tue Apr 8 05:26:26 UTC 2025
    • Show
      Launching automatic jobs for branch MDL-85062 -main-1 https://ci.moodle.org/view/Testing/job/DEV.02%20-%20Developer-requested%20PHPUnit/18950/ PHPUnit (sqlsrv) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/64850/ Behat (NonJS - boost and classic) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/64851/ Behat (Firefox - boost) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/64852/ Behat (Firefox - classic) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/64853/ App tests (stable app version) Built on: Tue Apr 8 06:30:40 UTC 2025
    • 3
    • Team Alpha - Sprint 4 I1-2025

      Steps to reproduce:

      1. Follow the testing instructions of MDL-80984 until section "Testing: Penalty implementation on an assignment" (included), but set an advanced grading method when creating the assignment.
      2. Login as the student with the grade penalty.
      3. Go to the assignment with the grade penalty.

      Expected behaviour:

      • The grade penalty indicator is displayed, and the displayed grade has the penalty applied.

      Actual behaviour:

      • The grade penalty indicator is not displayed, although the displayed grade has the penalty applied.

            Geshoski Mihail Geshoski
            albert.gasset@moodle.com Albert Gasset
            Andrew Gosali Andrew Gosali
            Glyn (Mathew) May Glyn (Mathew) May
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours
                3h

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.