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

LTI: Rich text editor -> Add content (shopping cart) displays warning: Empty regular expression

    XMLWordPrintable

    Details

    • 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

      Currently the warnings display, but the item can 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 Currently the warnings display, but the item can be added.

      Description

      Warning: preg_match(): Empty regular expression in /var/www/html/tsugi/lti/store/index.php on line 156

      When clicking the shopping cart in the rich text editor, the above warning displays 3 times. Not sure if it's due to something I should have filled out when creating the tool. I followed the test script instructions when creating the tool.

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code