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

Lesson incorrectly reports number of attempts to the teacher in the course overview block

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      This can either be tested using the test script below or by using the behat test provided

      This requires a course with 1 teacher and 2 students:

      As a teacher:
      1. Create a lesson with a future due date that allows multiple attempts
      2. Add a True / False question page, where the correct answer advances to the next page
      3. Add another True / False question page, where the correct answer advances to the next page
      4. Add another True / False question page, where the correct answer advances to the next page
      5. Add a content page that advances to the end of lesson.
      6. Log out

      As a student #1
      7. log in and attempt the lesson. Answer some of the questions correctly, and complete the lesson.
      8. Re-attempt the lesson and answer all of the questions correctly.
      9. Log out

      As a student #2
      10. log in and attempt the lesson. Answer some of the questions correctly, and complete the lesson.
      11. Log out

      As a teacher:
      12. Log in and navigate to the "My Home" page (http://moodle.siteurl.com/my)
      13. Click on the "You have lessons that are due"
      14. Verify that the umber of attempts displayed is correct (It should show 3 attempts)

      Show
      This can either be tested using the test script below or by using the behat test provided This requires a course with 1 teacher and 2 students: As a teacher: 1. Create a lesson with a future due date that allows multiple attempts 2. Add a True / False question page, where the correct answer advances to the next page 3. Add another True / False question page, where the correct answer advances to the next page 4. Add another True / False question page, where the correct answer advances to the next page 5. Add a content page that advances to the end of lesson. 6. Log out As a student #1 7. log in and attempt the lesson. Answer some of the questions correctly, and complete the lesson. 8. Re-attempt the lesson and answer all of the questions correctly. 9. Log out As a student #2 10. log in and attempt the lesson. Answer some of the questions correctly, and complete the lesson. 11. Log out As a teacher: 12. Log in and navigate to the "My Home" page ( http://moodle.siteurl.com/my ) 13. Click on the "You have lessons that are due" 14. Verify that the umber of attempts displayed is correct (It should show 3 attempts)
    • Affected Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE
    • Pull Master Branch:
      MDL-48750_m29

      Description

      The course overview block incorrectly reports the number of student attempts to the teacher. Steps to reproduce:

      As a teacher:
      1. Create a lesson with a future due date
      2. Add a True / False question page, where the correct answer advances to the next page
      3. Add another True / False question page, where the correct answer advances to the next page
      4. Add another True / False question page, where the correct answer advances to the next page
      5. Add a content page that advances to the end of lesson.

      As a student
      6. log in and attempt the lesson. Answer all of the questions correctly, and complete the lesson.

      As a teacher:
      7. Log in and navigate to the "My Home" page (http://moodle.siteurl.com/my)
      8. Click on the "You have lessons that are due"

      Expected result: The newly created lesson should show 1 attempt
      Actual result: The lesson shows 3 attempts (one attempt for each question page in the lesson)

        Attachments

          Activity

            People

            • Assignee:
              sbourget Stephen Bourget
              Reporter:
              sbourget Stephen Bourget
              Peer reviewer:
              Jean-Michel Vedrine
              Integrator:
              Dan Poltawski
              Tester:
              Jetha Chan
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                2/Feb/15