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

Badges using activity completion with passing grade criteria, even when failed grade is given

XMLWordPrintable

    • MOODLE_400_STABLE, MOODLE_401_STABLE, MOODLE_402_STABLE
    • MOODLE_401_STABLE, MOODLE_402_STABLE, MOODLE_403_STABLE
    • MDL-75572-401
    • MDL-75572-403
    • MDL-75572-master
    • Hide

      Covered with behat tests.

       

      For testing it manually (not required for this issue, but leaving it in case it helps to replicate the issue):

      1. Login as admin
      2. Create a course
      3. Enrol a student in the course
      4. Add an assignment  to the course with this setup:
        • Require passing grade 80
        • Activity completion is REQUIRE PASSING GRADE
      5. Create a badge with criteria "activity completion"
      6. Enable access to the badge.
      7. Grade manually the student with 40 
      8. Check the badge hasn't been awarded to the student.
      Show
      Covered with behat tests.   For testing it manually (not required for this issue, but leaving it in case it helps to replicate the issue): Login as admin Create a course Enrol a student in the course Add an assignment  to the course with this setup: Require passing grade 80 Activity completion is REQUIRE PASSING GRADE Create a badge with criteria "activity completion" Enable access to the badge. Grade manually the student with 40  Check  the badge hasn't been awarded to the student.
    • 3
    • HQ 2023 Sprint I3.3 Moppies

      Problem:

      Badge issued when student complete a quiz without passing mark when the activity completion is set to require a passing grade.

      How to reproduce:

      1. Setup a quiz and require passing grade 80% for example and activity completion is REQUIRE PASSING GRADE.
      2. Setup a badge to be awarded on activity completion of the Quiz in step 1.
      3. Take the quiz and fail it.

      Actual behavior:

      1. Badge issued when user failed the quiz even the activity is not completed

      Expected behavior:

      1. User should not get badge as the criteria require activity completion. 

        1. (1) 8 Passed -- (Master)MDL-75572.png
          (1) 8 Passed -- (Master)MDL-75572.png
          163 kB
        2. petri1.png
          petri1.png
          34 kB
        3. petri2.png
          petri2.png
          32 kB
        4. screenshot-1.png
          screenshot-1.png
          92 kB

            sarjona Sara Arjona (@sarjona)
            mudotmy Sam Suresh
            Laurent David Laurent David
            Jun Pataleta Jun Pataleta
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            23 Vote for this issue
            Watchers:
            35 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 4 hours, 26 minutes
                2d 4h 26m

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