Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-54680

Offer cartridges in LTI provider

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Enable LTI auth plugin
      2. Enable LTI enrolment plugin

      Test 1 (long, only test in one browser)

      1. Add a course if you don't have one already. Make sure it has a description with html
      2. Add an activity to it, if it doesn't have one already. Make sure it has an intro text (description) with html
      3. Go to the course, then click Published as LTI tools in Course administration.
      4. Click add to share a tool.
      5. Leave the course selected in "Tool to be published", and press save.
      6. Click add to add another tool.
      7. Select an activity in "Tool to be published", and press save.
      8. Copy the cartridge URL of the course tool
      9. On a different site, go to Site administration ▶︎ Plugins ▶︎ Activity modules ▶︎ External tool ▶︎ Manage tools
      10. Paste the cartridge URL into the URL box
      11. Click Add
      12. Copy the secret from the other page
      13. Type anything as a consumer key and paste the secret.
      14. Make sure the name and description match that of your course
      15. Go to a course on the new site, and add an LTI instance with that tool type.
      16. Make sure you can access the course (no need to test any functionality, though just that it loads)
      17. Add the module type, copying the cartridge and secret it the same way.
      18. Make sure the created tool has the correct name and description. No need to test further.
      19. Edit the two tools on the old site "Published as LTI tools" page. Give them both names.
      20. On the new site, add both tools again. Make sure the new names are displayed.

      Test 2 (short, test in all browsers and in both base and clean)

      1. Go to the "Published as LTI tools" page
      2. Check that the copy box looks okay
      3. Click on one of the boxes.
      4. Make sure all its content is selected.
      Show
      Enable LTI auth plugin Enable LTI enrolment plugin Test 1 (long, only test in one browser) Add a course if you don't have one already. Make sure it has a description with html Add an activity to it, if it doesn't have one already. Make sure it has an intro text (description) with html Go to the course, then click Published as LTI tools in Course administration. Click add to share a tool. Leave the course selected in "Tool to be published", and press save. Click add to add another tool. Select an activity in "Tool to be published", and press save. Copy the cartridge URL of the course tool On a different site, go to Site administration ▶︎ Plugins ▶︎ Activity modules ▶︎ External tool ▶︎ Manage tools Paste the cartridge URL into the URL box Click Add Copy the secret from the other page Type anything as a consumer key and paste the secret. Make sure the name and description match that of your course Go to a course on the new site, and add an LTI instance with that tool type. Make sure you can access the course (no need to test any functionality, though just that it loads) Add the module type, copying the cartridge and secret it the same way. Make sure the created tool has the correct name and description. No need to test further. Edit the two tools on the old site "Published as LTI tools" page. Give them both names. On the new site, add both tools again. Make sure the new names are displayed. Test 2 (short, test in all browsers and in both base and clean) Go to the "Published as LTI tools" page Check that the copy box looks okay Click on one of the boxes. Make sure all its content is selected.
    • Affected Branches:
      MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Epic Link:
    • Pull from Repository:
    • Pull Master Branch:
      MDL-54680-master

      Description

      Right now the LTI provider provides a launch url. Ideally we will want to instead give the url to an xml cartridge.

      We may want to use url rewrite to give a url that ends with XML, rather than uploading a bunch of xml files or just having a .php page as some LTI providers may not support cartridges that don't end in .xml

      Specification:
      https://www.imsglobal.org/specs/ltiv2p0/implementation-guide#toc-9

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                johno John Okely
                Reporter:
                johno John Okely
                Peer reviewer:
                Jake Dallimore
                Integrator:
                Andrew Nicols
                Tester:
                David Monllaó
                Participants:
                Component watchers:
                Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón, Adrian Greeve, Mihail Geshoski, Peter Dias
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  5/Dec/16