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

Cartridges appear to be supported via manual tool configuration but are not.

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Prerequisites:

      • You must have a course with a teacher enrolled.
      • Download the attached simple test cartridge and add to the web root of your localhost.

      Test Steps:

      As a site admin:

      1. Navigate to External Tools (Site admin > Plugins > Activity modules > External tool > Manage tools)
      2. Click 'configure a tool manually'
      3. Enter a value for 'tool name' and remember it
      4. For 'Tool base URL/Cartridge URL', enter http://localhost/YOUR_CARTRIDGE.xml
      5. Enter a tool description like 'test 123'
      6. Click 'Show more' at the bottom and enter something in the 'Icon URL' and 'Secure icon URL' fields. It doesn't need to be a real Icon URL.
      7. Click 'Save changes'
      8. Confirm that:
        • You see a new tool under the 'Tools' section
        • The name of the tool matches the name you entered
        • The description of the tool is 'Example tool description', i.e. has been taken from the cartridge.
        • The icon of the tool is the Moodle icon
      9. Click the edit icon on the top right of the tool.
      10. Confirm that:
        • The 'Tool base URL/cartridge URL' has been set to 'http://www.example.com/lti/provider.php'
        • The 'Icon' and 'Secure icon' field have been overriden with values from the cartridge, i.e. links to the image file on the tracker issue.
      11. Change the tool name, description, and icon URLs
      12. Change the 'Tool base URL/cartridge URL' to http://localhost/YOUR_CARTRIDGE.xml
      13. Save changes and edit the tool once more
      14. Confirm once again that:
        • The name of the tool matches the name you entered
        • The description of the tool is 'Example tool description', i.e. has been taken from the cartridge.
        • The 'Icon' and 'Secure icon' field have been overriden with values from the cartridge, i.e. links to the image file on the tracker issue.
      Show
      Prerequisites: You must have a course with a teacher enrolled. Download the attached simple test cartridge and add to the web root of your localhost. Test Steps: As a site admin: Navigate to External Tools (Site admin > Plugins > Activity modules > External tool > Manage tools) Click 'configure a tool manually' Enter a value for 'tool name' and remember it For 'Tool base URL/Cartridge URL', enter http://localhost/YOUR_CARTRIDGE.xml Enter a tool description like 'test 123' Click 'Show more' at the bottom and enter something in the 'Icon URL' and 'Secure icon URL' fields. It doesn't need to be a real Icon URL. Click 'Save changes' Confirm that: You see a new tool under the 'Tools' section The name of the tool matches the name you entered The description of the tool is 'Example tool description', i.e. has been taken from the cartridge. The icon of the tool is the Moodle icon Click the edit icon on the top right of the tool. Confirm that: The 'Tool base URL/cartridge URL' has been set to 'http://www.example.com/lti/provider.php' The 'Icon' and 'Secure icon' field have been overriden with values from the cartridge, i.e. links to the image file on the tracker issue. Change the tool name, description, and icon URLs Change the 'Tool base URL/cartridge URL' to http://localhost/YOUR_CARTRIDGE.xml Save changes and edit the tool once more Confirm once again that : The name of the tool matches the name you entered The description of the tool is 'Example tool description', i.e. has been taken from the cartridge. The 'Icon' and 'Secure icon' field have been overriden with values from the cartridge, i.e. links to the image file on the tracker issue.
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-54610_master
    • Sprint:
      3.2 Sprint 2

      Description

      When configuring an external tool manually via:
      Site admin > Plugins > Activity modules > LTI/Exteral tool > Manage tools > Configure a tool manually
      The wording on the second form element

      Tool base URL/Cartridge URL

      appears to suggest that the user can create from a cartridge on this page, when in fact they cannot.

      The form handling code uses functions:

      lti_add_type

      and

      lti_update_type

      Which don't provide support for loading from cartrdges.

      Suggest a string change to clarify this.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                2 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/Jul/16