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

Quiz: only send reminder notification email if the student has attempted a question

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.2
    • Fix Version/s: 2.8
    • Component/s: Quiz
    • Labels:
    • Testing Instructions:
      Hide

      You need email sending to work on your server to test this.

      If you think you will be quick enough, feel free to change 5 minutes below to something shorter

      1. Edit the student role, and Allow the capability mod/quiz:emailwarnoverdue.
      2. Create a quiz with
        • Name: test quiz
        • Time limit: 5 minutes
        • When time expires: There is a grace period when open attempts can be submitted, but no more questions answered
        • Grace period: 1 hour.
        • Attempts allowed: Unlimited.
        • How questions behave: Deferred feedback
      3. Add a description, a true-false question worth 0 marks, and an essay question worth 10 marks.
      4. Log in as a student whose emails get sent to your email address.
      5. Start an attempt at the quiz.
      6. Answer all the questions and click Next.
      7. On the summary screen verify that both questions are shown as answered.
      8. Close that browser tab, and wait 5 mins for time to expire, plus an extra minute and a bit.
      9. As admin, run cron, then log out again.
      10. Verify that you get an email about your quiz attempt being overdue.
      11. Click the link in the email, and verify that it opens the Summary page again.
      12. Click the submit button, then Finish review.
      13. Start a second attempt at the quiz.
      14. Answer the True-false question, but not the Essay and Click next.
      15. On the summary screen verify that question 1 says Answer saved, and Question 2 says Not yet answered.
      16. Close that browser tab, and wait 5 mins + 1 minute for time to expire.
      17. As admin, run cron.
      18. Verify that this time you do not get an email.
      19. But, check that as a student you can manually navigate to the quiz, and sumbit it, if you like.
      Show
      You need email sending to work on your server to test this. If you think you will be quick enough, feel free to change 5 minutes below to something shorter Edit the student role, and Allow the capability mod/quiz:emailwarnoverdue. Create a quiz with Name: test quiz Time limit: 5 minutes When time expires: There is a grace period when open attempts can be submitted, but no more questions answered Grace period: 1 hour. Attempts allowed: Unlimited. How questions behave: Deferred feedback Add a description, a true-false question worth 0 marks, and an essay question worth 10 marks. Log in as a student whose emails get sent to your email address. Start an attempt at the quiz. Answer all the questions and click Next. On the summary screen verify that both questions are shown as answered. Close that browser tab, and wait 5 mins for time to expire, plus an extra minute and a bit. As admin, run cron, then log out again. Verify that you get an email about your quiz attempt being overdue. Click the link in the email, and verify that it opens the Summary page again. Click the submit button, then Finish review. Start a second attempt at the quiz. Answer the True-false question, but not the Essay and Click next. On the summary screen verify that question 1 says Answer saved, and Question 2 says Not yet answered. Close that browser tab, and wait 5 mins + 1 minute for time to expire. As admin, run cron. Verify that this time you do not get an email. But, check that as a student you can manually navigate to the quiz, and sumbit it, if you like.
    • Affected Branches:
      MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      This realates to the setting:

      When time expires: There is a grace period when open attempts can be submitted, but no more questions answered

      With this option, if the student forgets to submit their quiz attempt, then it gets put into an 'overdue' state, and they are sent an email saying that they have a bit more time during which they can still submit their attempt, but not change any responses.

      This message is sent even if the student has not answered any question. (They migh have started the attempt, looked at some questoins, and decided that this activity was not worth their time.)

      In this situation, it is not worth bothering the student. Whether they submit or not, they will get no marks.

      This actually happens at the OU, and affects about 10% of the overdue emails we send out. At any rate, there are some unhappy students, and we want to improve things.

      Therefore, the proposal is to change the code that sends the email to only send the email if the students has answered at least one question that is worth a non-zero mark.

        Attachments

          Activity

            People

            Assignee:
            timhunt Tim Hunt
            Reporter:
            timhunt Tim Hunt
            Peer reviewer:
            Mahmoud Kassaei
            Integrator:
            Dan Poltawski
            Tester:
            Damyon Wiese
            Participants:
            Component watchers:
            Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              10/Nov/14