LTI Dashboard count doesn't match displayed tools.

Description

If you have a LTI tool deployed to a site that is then removed the LTI admin tools don't allow you to see this LTI item.

This didn't used to be the case, this change has happened as a result of SAK-30601.

Attachments

2

is related to

Activity

Charles R Severance July 19, 2017 at 12:42 PM

This is now fixed.  It was indeed introduced by and fixed in

Here is the rewritten function in the commit.

https://github.com/sakaiproject/sakai/commit/9d4b521de79896d60f18636c0a5511187b48137a#diff-853d37caff3fab0a1683f0b74f0f1842R448

The essential problem was that the code (originally in LTIAdminTool) deleted the tool than cleaned up the content items and site placements.  But code introduced in used an inner join between lti_content and lti_tools which became a WHERE clause - so the LTIAdminTool code never found the content items to clean them up.

fixes the join and fixed the code used at the moment of tool deletion to do the cleanup steps before deleting the tool.

Matthew Buckett October 4, 2016 at 4:47 AM

If you create a test tool and then install it into 2 sites (one that exists and one that doesn't), the summary shows 2 tools:

but the list of their locations only shows one:

Fixed

Details

Priority

Affects versions

Fix versions

Components

Assignee

Reporter

Created October 4, 2016 at 4:40 AM
Updated July 19, 2017 at 10:07 PM
Resolved July 19, 2017 at 12:43 PM