Details
Description
In general in Sakai External tools, there is a tool entry in the lti_tools table which has the key, secret, and URL and then a content entry in the lti_content table that corresponds to the actual launch able tool. In places like Lessons and the rich text editor the LTI links launch the "content entry". Content entries point to tool entries and it is possible to build a tool, create a content entry linked to the tool and then delete a tool, leaving the content entry stranded. This is not good - but there are reasons to allow this. Using the External tools UI you can delete a tool, install a new tool and then re-link the content entrie(s) to a new tool.
This JIRA deals with the situation where the content item points to a tool that is gone. There is a screen shot of what happens when you try to edit a content item that has not tool in the admin UI.
If you launch such a tool, of course it wont work, but there needs to be a reasonable message - currently you get a trace back.
16-Aug-2019 07:59:19.611 WARN [http-nio-8080-exec-5] org.sakaiproject.access.tool.AccessServlet.dispatch dispatch(): exception:
java.lang.NullPointerException
at org.sakaiproject.basiclti.impl.BasicLTISecurityServiceImpl.handleLTI112(BasicLTISecurityServiceImpl.java:305)
at org.sakaiproject.basiclti.impl.BasicLTISecurityServiceImpl.access$400(BasicLTISecurityServiceImpl.java:81)
at org.sakaiproject.basiclti.impl.BasicLTISecurityServiceImpl$1.handleAccess(BasicLTISecurityServiceImpl.java:488)
at org.sakaiproject.access.tool.AccessServlet.dispatch(AccessServlet.java:346)
Not the best UX.
Gliffy Diagrams
Zeplin
Attachments
Issue Links
- depends on
-
SAK-42352 Make sure that LTI 1.3 Launches from the editor sends the appropriate values
-
- Verified
-