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

Links to Tests & Quizzes in CKEditor do not work on import

    XMLWordPrintable

    Details

    • Test Plan:
      Hide
      • Create Site1 with Lessons and Tests & Quizzes tools present.
      • Add Student 1 to Site1.
      • Create an assessment in Tests & Quizzes, open date = now, due date = future. Publish the assessment.
      • Go to Lessons.
      • From the Add Content menu, select Add Text.
      • Click on the hyperlink icon
      • For the Display Text enter "Complete the quiz"
      • Click the Browse Server button
      • Go to the Tests & Quizzes directory and select the assessment.
      • Click OK to select this quiz, OK again to create the link, then Save to save the text to the Lessons page.
      • Create Site2.
      • Add Student 1 and Student 2 to Site 2.
      • In Site2 go to Site Info and select Import From Site.
      • Select either Merge or Replace data
      • Select Site1
      • Select both the Lessons and Tests & Quizzes tools and click Finish. Wait for the import to complete.
      • View the Lessons page as Student 2. Click on the link and complete the quiz.
      • View the Lessons page as Student 1. Click on the link and complete the quiz.
      • As the instructor, view Tests & Quizzes. Both students submissions should appear in Site2. 

      Current behavior: Student 1 can complete the test, but the score is recorded in Site 1. Student 2 gets an Access Denied error.

      Show
      Create Site1 with Lessons and Tests & Quizzes tools present. Add Student 1 to Site1. Create an assessment in Tests & Quizzes, open date = now, due date = future. Publish the assessment. Go to Lessons. From the Add Content menu, select Add Text. Click on the hyperlink icon For the Display Text enter "Complete the quiz" Click the Browse Server button Go to the Tests & Quizzes directory and select the assessment. Click OK to select this quiz, OK again to create the link, then Save to save the text to the Lessons page. Create Site2. Add Student 1 and Student 2 to Site 2. In Site2 go to Site Info and select Import From Site. Select either Merge or Replace data Select Site1 Select both the Lessons and Tests & Quizzes tools and click Finish. Wait for the import to complete. View the Lessons page as Student 2. Click on the link and complete the quiz. View the Lessons page as Student 1. Click on the link and complete the quiz. As the instructor, view Tests & Quizzes. Both students submissions should appear in Site2.  Current behavior: Student 1 can complete the test, but the score is recorded in Site 1. Student 2 gets an Access Denied error.

      Description

      If you create a link to a test through CKEditor, and import this content into another site, the links continue to refer to the original site, rather than the test in the imported site. Links created this way to Assignments or Forums are changed on point to the correct site on import.  

      If a student does not have access to the original site, they receive an error "Access Denied. You do not have permissions to access this assessment. Please contact your instructor if you have any questions". If a student does have access to the original site, it will let them take the test and record the score in the original site.

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                maintenanceteam Core Team
                Reporter:
                cschwiebert Christina Schwiebert
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:

                    Git Integration