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

If basiclti.provider.autositetemplate is specced but the site doesn't exist, LTI launches fail

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Verified
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.8.1
    • Fix Version/s: None
    • Component/s: BasicLTI
    • Labels:
    • Previous Issue Keys:
      BLTI-201
    • Test Plan:
      Hide

      1. Add the property basiclti.provider.autositetemplate=myltitemplatesite to your sakai or local.properties. myltitemplate is the lti template site id in Sakai, and this should NOT exist for this test.
      2. Add basiclti.provider.allowedtools=sakai.rwiki to sakai or local.propertiesand restart tomcat.
      3. Setup an LTI consumer with the launch URL of http://localhost/imsblti/provider/sakai.rwiki and your consumer key and secret.
      4. Click on the rwiki tool link in your consumer, Moodle for instance, and the tool should launch.

      Show
      1. Add the property basiclti.provider.autositetemplate=myltitemplatesite to your sakai or local.properties. myltitemplate is the lti template site id in Sakai, and this should NOT exist for this test. 2. Add basiclti.provider.allowedtools=sakai.rwiki to sakai or local.propertiesand restart tomcat. 3. Setup an LTI consumer with the launch URL of http://localhost/imsblti/provider/sakai.rwiki and your consumer key and secret. 4. Click on the rwiki tool link in your consumer, Moodle for instance, and the tool should launch.

      Description

      If basiclti.provider.autositetemplate is specced but the site doesn't exist, LTI launches fail. If you take the property out then launches succeed. The provider servlet needs to check that the template site exists and warn appropriately.

      To reproduce:

      1. Add the property basiclti.provider.autositetemplate=myltitemplatesite to your sakai or local.properties. myltitemplate is the lti template site id in Sakai, and this should NOT exist for this test.
      2. Add basiclti.provider.allowedtools=sakai.rwiki to sakai or local.properties and restart tomcat.
      3. Setup an LTI consumer with the launch URL of http://localhost/imsblti/provider/sakai.rwiki and your consumer key and secret.
      4. Click on the rwiki tool link in your consumer, Moodle for instance, and the tool should fail without any warning in the consumer.

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                a.fish@lancaster.ac.uk Adrian Fish
                Reporter:
                a.fish@lancaster.ac.uk Adrian Fish
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration