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

Importing calendar with Tests & Quizzes events results in old links

    Details

    • Type: Bug
    • Status: Awaiting Review
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 12.6, 19.1, 20.0 [Tentative]
    • Fix Version/s: None
    • Labels:
      None
    • Test Plan:
      Hide
      • Create 2 sites. Both sites should have the Tests & Quizzes and Calendar tools present.
      • In Site 1, add a calendar event for "Class starts" 
      • In Site 1, create a test (any questions, length).  In settings, have the due date be the day after your "Class starts" date. 
      • Publish the test. Make sure it is set to add the due date to Calendar.
      • Check the calendar, confirm that both events are present.
      • Go to Site 2 -> Site Info -> Import from site
      • Select Replace data or Merge data (both result in this issue)
      • Select Site 1, import Tests & Quizzes and Calendar
      • After the import completes in Site 2, go to Tests & Quizzes and publish the test. Keep the same settings (This mimics the behavior of an instructor teaching 2 sections)
      • Check the calendar in Site 2. The "Class starts" event should be present.  Only one "test due" event should appear, but both do. 
      • If you add a student to Site 2, student should be able to click on the link in the calendar to take the test. 
      Show
      Create 2 sites. Both sites should have the Tests & Quizzes and Calendar tools present. In Site 1, add a calendar event for "Class starts"  In Site 1, create a test (any questions, length).  In settings, have the due date be the day after your "Class starts" date.  Publish the test. Make sure it is set to add the due date to Calendar. Check the calendar, confirm that both events are present. Go to Site 2 -> Site Info -> Import from site Select Replace data or Merge data (both result in this issue) Select Site 1, import Tests & Quizzes and Calendar After the import completes in Site 2, go to Tests & Quizzes and publish the test. Keep the same settings (This mimics the behavior of an instructor teaching 2 sections) Check the calendar in Site 2. The "Class starts" event should be present.  Only one "test due" event should appear, but both do.  If you add a student to Site 2, student should be able to click on the link in the calendar to take the test. 

      Description

      If a user imports from one site to another, calendar events created by Tests & Quizzes remain, with the link to take the test pointing to the original site. 

      We have instructors who copy content from a master template into their courses for each semester using the Site Info - Import from Site method. We also have instructors teaching multiple sections who will import from section 1 into section 2. We have seen that if the original site has Tests & Quizzes published and set to create the calendar event, these events are also present in the destination site, with the URL to take the test still pointing to the original. If the instructor publishes the test in the destination site, that test could be on the calendar twice. One link works for students, one does not. 

      I feel that these events should not be imported, as they will be recreated if/when the instructor publishes the tests. This would also mirror the behavior of calendar events created by Assignments. 

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:

                  Git Source Code