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

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • 4.1.6, 4.2.3, 4.3
    • Activity completion, Quiz
    • MOODLE_401_STABLE, MOODLE_402_STABLE, MOODLE_403_STABLE

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sarjona Sara Arjona (@sarjona)
              Votes:
              6 Vote for this issue
              Watchers:
              21 Start watching this issue

              Dates

                Created:
                Updated:

                Clockify

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