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

"Passing grade or all available attempts completed" activity condition in Quiz is not working as expected


    • 2
    • Moppies PB candidates

      While working on MDL-75572 and MDL-79367, to update the behaviour of the failed grade activity completion when using it in badges or restrictions, I've seen the current "Passing grade or all available attempts completed" is not working as expected because the current Activity completion API doesn't implement a method to combine the state of several conditions.

      Although the code in quiz_attempt_submitted_handler() in mod/quiz/locallib.php is updating the state to COMPLETION_COMPLETE, the update_state() method is not changing it properly.


      While discussing this issue with Amaia we thought that it might be fixed by moving the "Passing grade or all available attempts completed" option outside the Passing grade, to remove the restriction that currently exists between these conditions and leaving them as they were before the changes done in 4.3.

            Unassigned Unassigned
            sarjona Sara Arjona (@sarjona)
            17 Vote for this issue
            30 Start watching this issue


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