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

Site Import should support Lessons LTI tool links when copying sites

    Details

    • Type: Bug
    • Status: OPEN
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.7, 11.0, 12.2, 19.2, 20.0
    • Fix Version/s: None
    • Component/s: Site Info
    • Labels:

      Description

      If a user has Lessons with LTI content links, when the course content is copied to another site using Site Info > Import from Site, all of the LTI links break. The instructor then has to go through Lessons and recreate all of the LTI content links in the new site. This is very labor intensive if you have a lot of LTI links. Ideally, all of the Lessons content including the LTI links should be copied over into the new site. The entityRefMigration process should look up the new tool link and update the link.

      To replicate this issue:

      1. Create a Lessons page with one or more LTI content links to external tools in the original site.
      2. Navigate to a new, blank site.
      3. Go to Site Info > Import from Site.
      4. Select the original site containing the Lessons with LTI content and and copy the Lessons tool content into the new site. (Both "replace" and "merge" my content options have the same result, so you can choose either method for importing.)
      5. Go to the Lessons page in the new site and view the LTI content links. They will show Deleted next to each LTI item indicating that the links are broken.

      Notes on possible work-around for this issue using Lessons CC

      Interestingly, if you use the Export/Import CC option within Lessons, it will successfully copy over the LTI Lessons links into a new site. However, this only seems to work when the LTI tool is set up by the admin as a system-wide tool visible to all sites.

      To replicate:

      1. Go to Admin Workspace > External Tools > Install LTI 1.1. Tool and enter the necessary tool information. Be sure to leave site id blank, make the tool visible, and do not allow URL, key or secret to be changed.
      2. Navigate to a course site and create a Lessons page with one or more LTI content links to the external tool added in the step above.
      3. In Lessons, select More Tools > Export CC.
      4. Navigate to a new, blank site.
      5. Go to Lessons in the new site and select More Tools > Import CC, then upload the content package exported in the previous step.
      6. View the Lessons page containing the LTI links. The links work.

      However, if the LTI tool is set up individually by the instructor, or if it is set up by the admin such that it is stealthed, or instructors have to supply the key and secret when adding the tool, the CC import does not work. It copies the LTI links within the content, but does not retain the key and secret.

      To replicate:

      1. Navigate to a course site and create a Lessons page with one or more LTI content links to external tools not already present as pre-configured system tools.
      2. In Lessons, select More Tools > Export CC.
      3. Navigate to a new, blank site.
      4. Go to Lessons in the new site and select More Tools > Import CC, then upload the content package exported in the previous step.
      5. View the Lessons page containing the LTI links. Deleted does not display. However, when you click on the LTI content link, the user is prompted to configure the tool and the following message displays "Note: This tool was imported and needs a key and secret before it will function."

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  maintenanceteam Core Team
                  Reporter:
                  wilma@longsight.com Wilma Hodges
                  Votes:
                  6 Vote for this issue
                  Watchers:
                  12 Start watching this issue

                    Dates

                    Created:
                    Updated:

                      Git Integration