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

Quiz completion doesn't respect user overridden attempt number

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 3.0.2
    • None
    • Activity completion, Quiz
    • None
    • MOODLE_30_STABLE

    Description

      If we have user override on quiz setting (number of attempts), quiz completion doen't respect that.

      How to reproduce:

      1. Create a quiz
      1.1 Set number of attempts to 1
      1.2 Set Activity Completion with settngs:
      1.2.1 completionusegrade = 1
      1.2.2 completionpass = 1
      1.2.3 completionattemptsexhausted = 1
      2. Fail one attempt of the quiz under "User"
      3. Look on the red icon completion-auto-fail next to the quiz on the course page
      4. Add quiz user override for "User": number of attempts = 2
      5. Login as "User" and look on the red icon completion-auto-fail next to the quiz on the course page

      How it should be:

      1-4. Same
      5. Login as "User" and look on the empty icon completion-auto-n next to the quiz on the course page

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              evsoldatkin Evgeny Soldatkin
              Amaia Anabitarte, Bas Brands, Carlos Escobedo, Laurent David, Raquel Ortega, Sabina Abellan, Sara Arjona (@sarjona), Tim Hunt, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Kevin Percy, Laurent David, Mathew May, Mihail Geshoski, Raquel Ortega, Sabina Abellan, Sander Bangma, Sara Arjona (@sarjona), Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: