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

Test and quizzes - redirects to Lessons

    XMLWordPrintable

    Details

    • 20 status:
      Resolved
    • 19 status:
      Resolved
    • Test Plan:
      Hide
      1. Create and publish an assessment.
      2. Link it to Lessons.
      3. Access assessment preview from lessons.
      4. Head to T&Qs again and preview any assessment.
      5. Click on any of the Done buttons.
      6. Currently you are redirected to Lessons.

      Test Case 2:

      1. Create 2 new sites
        • Site1: add Lessons and Tests & Quizzes
        • Site2: add Tests & Quizzes
      2. Add a couple of students to both sites 
      3. Site1: Add a couple of quizzes and link one through Lessons
      4. Site2: Add a couple of quizzes

      Student1:

      1. Enter Site1, click on Lessons and submit the quiz
      2. Enter Site2, and submit one of the quizzes
      3. After clicking Continue, you should be on the Assessments page in the current site (Site2)

      Currently, the student is thrown back on the Lessons page in Site1

      Student2:

      1. Enter Site2 and submit the first quiz
      2. Click Continue - in this case you're still in Site2
      3. Enter Site1, click on Lessons and submit the quiz
      4. Enter Site2 again and submit the second quiz
      5. After clicking Continue, you should be on the Assessments page in the current site (Site2)

      Currently, the student is thrown back on the Lessons page in Site1

      Test Case 3

      1. Have the student take the Lessons quiz
      2. Then, in the same site, have the student take a quiz through Tests & Quizzes

      Currently, the student is taken back to the Lessons page after submitting and clicking Continue.

       

      Show
      Create and publish an assessment. Link it to Lessons. Access assessment preview from lessons. Head to T&Qs again and preview any assessment. Click on any of the Done buttons. Currently you are redirected to Lessons. Test Case 2: Create 2 new sites Site1: add Lessons and Tests & Quizzes Site2: add Tests & Quizzes Add a couple of students to both sites  Site1: Add a couple of quizzes and link one through Lessons Site2: Add a couple of quizzes Student1: Enter Site1, click on Lessons and submit the quiz Enter Site2, and submit one of the quizzes After clicking Continue, you should be on the Assessments page in the current site (Site2) Currently, the student is thrown back on the Lessons page in Site1 Student2: Enter Site2 and submit the first quiz Click Continue - in this case you're still in Site2 Enter Site1, click on Lessons and submit the quiz Enter Site2 again and submit the second quiz After clicking Continue, you should be on the Assessments page in the current site (Site2) Currently, the student is thrown back on the Lessons page in Site1 Test Case 3 Have the student take the Lessons quiz Then, in the same site, have the student take a quiz through Tests & Quizzes Currently, the student is taken back to the Lessons page after submitting and clicking Continue.  

      Description

      If you access an assessment from Lessons, then you might be redirected to that tool later if you head to Samigo and access an assessment.
      EXPECTED:If you access from Lessons, you return to Lessons. If you access from T&Q, you are returned to T&Q.

      13 July 2020 - updating to include multiple sites:

      If the student is in multiple sites and takes a quiz through Lessons in one site, then taking a quiz in another site (without Lessons) throws them into the first site after they submit their quiz and click continue.

      This is not an issue on 12.x

      I didn't see any errors in the server logs, but here is the info from the submissions:

      Shows Quiz-Lessons submission in site1 through Lessons:
      Trunk AGS 101 Spring 2020: https://trunk-mysql.nightly.sakaiproject.org/portal/site/86fd17fe-7354-4c04-ae4a-aaa5b9fe9973

      13-Jul-2020 19:15:05.123 INFO [http-nio-20013-exec-1] org.sakaiproject.email.impl.BasicEmailService.transportMessage transportMessage: headers[ From: "Sakai" <no-reply@trunk-mysql.nightly.sakaiproject.org> To: "Nancy Drew" <ndrew_student01@mailinator.com> Subject: Notification for assessment submission: Trunk AGS 101 Spring 2020 - Quiz-Lessons Content-Type: multipart/alternative; boundary="======sakai-multi-part-boundary======" Mime-Version: 1.0 Return-Path: <> Auto-Submitted: auto-generated] to[ ndrew_student01@mailinator.com]

      Student took quiz in Site2, then was thrown into Lessons in site1
      Trunk AGS 201 Spring 2020: https://trunk-mysql.nightly.sakaiproject.org/portal/site/06281f04-b59a-4117-8f1a-2352c54b0b9c

      13-Jul-2020 19:17:05.535 INFO [http-nio-20013-exec-25] org.sakaiproject.email.impl.BasicEmailService.transportMessage transportMessage: headers[ From: "Sakai" <no-reply@trunk-mysql.nightly.sakaiproject.org> To: "Nancy Drew" <ndrew_student01@mailinator.com> Subject: Notification for assessment submission: Trunk AGS 201 Spring 2020 - Quiz1 Content-Type: multipart/alternative; boundary="======sakai-multi-part-boundary======" Mime-Version: 1.0 Return-Path: <> Auto-Submitted: auto-generated] to[ ndrew_student01@mailinator.com]

      13-Jul-2020 19:17:07.900 WARN [http-nio-20013-exec-22] org.sakaiproject.portal.charon.handlers.SiteHandler.doSite Redirecting tool inline url: https://trunk-mysql.nightly.sakaiproject.org/portal/site/86fd17fe-7354-4c04-ae4a-aaa5b9fe9973/tool/6ddb72f9-e3fd-4f42-b7c1-ae7154448dc3?clearAttr=LESSONBUILDER_RETURNURL_SAMIGO

        Gliffy Diagrams

          Zeplin

            Attachments

            1. 28July-student-quiz-same-site.mp4
              6.38 MB
              Andrea Schmidt
            2. InstructorPreviewSendsToLessons.mp4
              16.03 MB
              Laura Gekeler
            3. quiz_results.gif
              16 kB
              Andrea Schmidt
            4. student_quiz_lessons_problem.mp4
              5.48 MB
              Andrea Schmidt

              Issue Links

                Activity

                  People

                  Assignee:
                  ern Earle R Nietzel
                  Reporter:
                  bergarvi Bernardo Garcia Vila
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration