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

    • MOODLE_27_STABLE, MOODLE_28_STABLE
    • MOODLE_27_STABLE, MOODLE_28_STABLE
    • MDL-48750_m29
    • 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)

    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

            sbourget Stephen Bourget
            sbourget Stephen Bourget
            Jean-Michel Vedrine Jean-Michel Vedrine
            Dan Poltawski Dan Poltawski
            Jetha Chan Jetha Chan
            David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              2/Feb/15