Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-35658

Email Notification should filter by group if with the "Assessment released to" option

    XMLWordPrintable

    Details

    • 11 status:
      Verified
    • Previous Issue Keys:
      SAM-3077
    • Test Plan:
      Hide

      To test the issue before applying the patch follow the steps in the photos.

      TO TEST THE PATCH

      1. Enter as instructor
      2. Create a Site (for example Discussion 1 SMPL101)
      3. Go to Site Info -> Manage Groups
      4. Create two groups
      4.1 One group (name it GROUP A)with the Instructor (username: instructor) and some students
      4.2 The other group (GROUP B) with the Instructor 1 (username: instructor 1) and a different set of students

      5. Enter as admin (password: admin)
      6. Go to Discussion 1 SMPL101 site
      7. Go to Test & Quizzes
      8. Go to the "Assessment Types" tab
      9. Click on "Default Assessment type"
      10. Activate the option for email submissions ("Email Notifications on Assessment Submission?)
      11. Save

      12. Enter as instructor again
      13. Create an assessment (name it TIMED A)
      14. In the assessment settings select
      14.1 "Assesment release to" -> Selected Groups -> GROUP A
      14.2 "and has a time limit of " -> 1 min
      14.3 "Email notification" -> Yes - send me an email for every submission
      14.4 Save
      15. Add a question to the assessment and publish it.

      16. Enter as any student of the "GROUP A"
      17. Take the assessment TIMED A
      18. After clicking "Submit for Grading" check the log and make sure that
      18.1 There is one email sent to the student
      18.2 There is another email sended to the instructors in GROUP A.
      19. Take the assessment TIMED A again but this time just save it and exit the Test & Quizzes tool
      20. After one minute check the log and make sure that
      20.1 There is one email sent to the student
      20.2 There is another email sent to the instructors in GROUP A

      Show
      To test the issue before applying the patch follow the steps in the photos. TO TEST THE PATCH 1. Enter as instructor 2. Create a Site (for example Discussion 1 SMPL101) 3. Go to Site Info -> Manage Groups 4. Create two groups 4.1 One group (name it GROUP A)with the Instructor (username: instructor) and some students 4.2 The other group (GROUP B) with the Instructor 1 (username: instructor 1) and a different set of students 5. Enter as admin (password: admin) 6. Go to Discussion 1 SMPL101 site 7. Go to Test & Quizzes 8. Go to the "Assessment Types" tab 9. Click on "Default Assessment type" 10. Activate the option for email submissions ("Email Notifications on Assessment Submission?) 11. Save 12. Enter as instructor again 13. Create an assessment (name it TIMED A) 14. In the assessment settings select 14.1 "Assesment release to" -> Selected Groups -> GROUP A 14.2 "and has a time limit of " -> 1 min 14.3 "Email notification" -> Yes - send me an email for every submission 14.4 Save 15. Add a question to the assessment and publish it. 16. Enter as any student of the "GROUP A" 17. Take the assessment TIMED A 18. After clicking "Submit for Grading" check the log and make sure that 18.1 There is one email sent to the student 18.2 There is another email sended to the instructors in GROUP A. 19. Take the assessment TIMED A again but this time just save it and exit the Test & Quizzes tool 20. After one minute check the log and make sure that 20.1 There is one email sent to the student 20.2 There is another email sent to the instructors in GROUP A

      Description

      Let´s say we have two Groups in a Site

      GROUP 1: Instructor 1 , students
      GROUP 2: Instructor 2 , students
      GROUP 3: Instructor 3, students

      If we create an assessment released to only GROUP 1 with the option "Email Notification
      Yes - send me an email for every submission", the email notification is sended to Instructor 1, Instructor 2 and Instructor 3.

      Instructor 2 and 3 don´t need to recieve email notification from an assessment which doesn´t belong to their groups.

      This patch fixes this and makes SAMIGO to send submission notifications only to the groups selected in "Assessment released to"

        Gliffy Diagrams

          Zeplin

            Attachments

            1. Choose_template.PNG
              Choose_template.PNG
              11 kB
            2. Groups01.png
              Groups01.png
              128 kB
            3. Groups02.png
              Groups02.png
              197 kB
            4. Groups02-2.png
              Groups02-2.png
              84 kB
            5. Groups03.png
              Groups03.png
              200 kB
            6. Groups04.png
              Groups04.png
              90 kB
            7. Groups05.png
              Groups05.png
              64 kB
            8. Groups06.png
              Groups06.png
              90 kB

              Issue Links

                Activity

                  People

                  • Assignee:
                    alexgj Alejandro González Jiménez
                    Reporter:
                    alexgj Alejandro González Jiménez
                  • Votes:
                    1 Vote for this issue
                    Watchers:
                    4 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved:

                      Git Integration