Test and quizzes - redirects to Lessons

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

Attachments

4

Activity

Show:

Andrea Schmidt December 5, 2020 at 9:38 AM

Verified on 19x: https://qa19-mysql.nightly.sakaiproject.org/, build: 3a03e645

Andrea Schmidt November 28, 2020 at 12:22 PM

Failing on 19x: https://qa19-mysql.nightly.sakaiproject.org/, build: 8ed2c2d6

needs to be merged, and also Test Case 2 fails on 19x

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)

Andrea Schmidt November 28, 2020 at 12:09 PM

Verified on 20x: https://qa20-mysql.nightly.sakaiproject.org/, build: c4181839 

Andrea Schmidt August 3, 2020 at 6:28 PM

Created  for the same site issue on 19 & 20.

Andrea Schmidt August 3, 2020 at 6:13 PM

This is failing on 20x: https://qa20-mysql.nightly.sakaiproject.org/, build: 7748f88c  also for the same site quiz.

Fixed

Details

Priority

Affects versions

Fix versions

Components

Assignee

Reporter

Created May 16, 2019 at 10:25 AM
Updated December 5, 2020 at 9:39 AM
Resolved July 30, 2020 at 4:24 PM