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

XMLWordPrintable

    • MOODLE_401_STABLE, MOODLE_402_STABLE, MOODLE_403_STABLE
    • 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)
            Votes:
            17 Vote for this issue
            Watchers:
            30 Start watching this issue

              Created:
              Updated:

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