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

In lesson, last attempt warning does not appear when a maximum number of attempts is activated

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not a bug
    • Affects Version/s: 2.2.1, 2.3.4, 2.4.1, 2.5
    • Fix Version/s: None
    • Component/s: Lesson
    • Labels:
    • Affected Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE

      Description

      MDLQA-1022
      This test requires a lesson activity containing more than one question.

      1. Login as a teacher, update a lesson activity and set 'Display review button' to No and the maximum number of attempts to 2.
      2. Login as a student and attempt the activity.
      3. Answer a question wrongly and and check that the message 'You have 1 attempt(s) remaining' is displayed.
      4. Click the continue button and answer the question wrongly again.
      5. Check that you are no longer allowed to attempt the question.

      In step 3, the message never appears to the user.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: