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

First LTI tool installed can not update settings service

    Details

    • Type: Bug
    • Status: RESOLVED
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.2, 11.0
    • Fix Version/s: 11.0
    • Component/s: BasicLTI
    • Labels:
      None
    • Environment:
      hsqldb
      LTI 1.1 tool

      Description

      The very first lti tool installed in a Sakai instance is unable to save settings values. The tool is given an id of 0. This ends up mapping to a contentKey of 0 in the basiclti ServiceServlet processSetting method. The code (around line 536) checks that the content key is greater than 0 before it actually processes content so the content is not retrieved from the request and can't be saved. The API still reports success.

      This was discovered on the hsqldb implementation. Other database implementations have not been tested.

      To recreate:

      • create a Sakai instance with an empty LTI_CONTENT table. The table will be empty for any brand new Sakai instance.
      • install an LTI tool via External Tools that uses the setting service as an external 1.1 tool.
      • logout then log back in
      • settings will be empty.

      If another tool is installed in a similar way it will be able to use the setting service successfully.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  csev Charles Severance
                  Reporter:
                  dlhaines David Haines
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code