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

Site Import should support Lessons LTI tool links when copying sites

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.7, 11.0, 12.2, 19.2, 20.0
    • Fix Version/s: 19.6, 20.2, 21.0
    • Component/s: Site Info
    • Labels:
    • 20 status:
      Verified
    • 19 status:
      Resolved
    • Test Plan:
      Hide

      Test plan for SAK-31644

      This is a kind of crazy combinatoric test plan. Sorry.

      Install some LTI globally installed LTI tools

      • A globally installed launch only tool
      • A globally installed ContentItem LTI 1.1 tool
      • A globally installed DeepLink LTI Advantage tool

      On an instructor account, make a site, add Lessons and gradebook. Install some local LTI tools:

      • A locally installed launch only tool
      • A locally installed ContentItem LTI 1.1 tool

      (You can't install an LTI Advantage tool as an instructor)

      Add links in Lessons to all five of the tools. Feel frre to add more than one.

      Test each of the links in the site.

      Make a new site with at least Gradebook and Lessons, import Lessons content
      from the first site. After import is complete, test launch all of the links
      in the new site.

      Show
      Test plan for SAK-31644 This is a kind of crazy combinatoric test plan. Sorry. Install some LTI globally installed LTI tools A globally installed launch only tool A globally installed ContentItem LTI 1.1 tool A globally installed DeepLink LTI Advantage tool On an instructor account, make a site, add Lessons and gradebook. Install some local LTI tools: A locally installed launch only tool A locally installed ContentItem LTI 1.1 tool (You can't install an LTI Advantage tool as an instructor) Add links in Lessons to all five of the tools. Feel frre to add more than one. Test each of the links in the site. Make a new site with at least Gradebook and Lessons, import Lessons content from the first site. After import is complete, test launch all of the links in the new site.

      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

            1. 19x_Lessons_LTI1.1.gif
              19x_Lessons_LTI1.1.gif
              9 kB
            2. 19x_LTI_Advantage.gif
              19x_LTI_Advantage.gif
              24 kB
            3. image-2019-07-09-09-43-56-475.png
              image-2019-07-09-09-43-56-475.png
              123 kB
            4. lessons_import.gif
              lessons_import.gif
              17 kB
            5. LTI_Issues_2.png
              LTI_Issues_2.png
              133 kB

              Issue Links

                Activity

                  People

                  Assignee:
                  csev Charles Severance
                  Reporter:
                  wilma@longsight.com Wilma Hodges
                  Votes:
                  6 Vote for this issue
                  Watchers:
                  17 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration