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

LTI: Error when trying to add the tool using the rich text editor

    XMLWordPrintable

    Details

    • 19 status:
      Verified
    • Test Plan:
      Hide
      1. Open your browser console
      2. Go to Site Info -> External Tools and install an LTI 1.1 tool:
      3. Check the following boxes:
        • "Allow tool title to be changed"
        • "Allow Launch URL to be changed"
        • Send names
        • Send email
        • "Allow the tool to be used from the rich content editor to select content"
        • "Allow external tool to configure itself (the tool must support the IMS Content-Item message)"
      4. Do not check "Allow the tool to be launched as a link"
      5. Save the tool
      6. Click on Announcements -> Add
      7. In the rich text editor click the shopping cart icon
      8. Select the tool you just added

      Currently, the console displays an error message and the tool cannot be added

      Show
      Open your browser console Go to Site Info -> External Tools and install an LTI 1.1 tool: Name the tool "TsugiCloud Store" Use the URL: https://test.tsugicloud.org/tsugi/lti/store/ with a key of 12345 and secret of secret. Check the following boxes: "Allow tool title to be changed" "Allow Launch URL to be changed" Send names Send email "Allow the tool to be used from the rich content editor to select content" "Allow external tool to configure itself (the tool must support the IMS Content-Item message)" Do not check "Allow the tool to be launched as a link" Save the tool Click on Announcements -> Add In the rich text editor click the shopping cart icon Select the tool you just added Currently, the console displays an error message and the tool cannot be added

      Description

      When trying to add the tool through the rich text editor, an error message displays in the console and it's not possible to add the tool.

      Console error:

      tool:36?contentReturn=https%3A%2F%2Ftrunk-mysql.nightly.sakaiproject.org%2Fportal%2Ftool%2F2df60627-14ae-4473-8d97-60054e29c227%2Fsakai.basiclti.admin.helper.helper%3FeventSubmit_doContentItemEditorHandle%3DSave%26sakai.session%3D2021913d-488f-4b70-80a3-ed5eff97ceb6.ip-172-31-7-189%26panel%3DPostContentItem%26tool_id%3D36%26sakai_csrf_token%3Db298923ef852ea3aec14db755a30489e9d9a147f38334023a0e468d62c8461fe&accept_media_types=%2F&remember=the+answer+is+42:71 Mixed Content: The page at 'https://trunk-mysql.nightly.sakaiproject.org/portal/site/1f37f747-3db2-4a5d-8be7-976c68be893d/tool/682b446e-014d-49fa-ae6c-8d6d9a685e5c?panel=Main' was loaded over HTTPS, but requested an insecure form action 'http://test.tsugicloud.org/tsugi/lti/store/'. This request has been blocked; the content must be served over HTTPS.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                csev Charles Severance
                Reporter:
                agschmidt Andrea Schmidt
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code