Details
-
Type:
Bug
-
Status: Verified
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 12.0, 19.0, 20.0
-
Fix Version/s: 20.0
-
Component/s: Worksite Setup
-
Labels:None
-
Test Plan:
Description
It appears there's a regression from SAK-32360 somehow.
So what happens is if you create a site with an LTI tool and a tool that requires additional information (like Web Content) but you fail the validation for the tool, it leaves the page in a state that you cannot progress and there's a stack trace.
Caused by: java.lang.NullPointerException at org.sakaiproject.site.tool.SiteAction.updateSelectedExternalToolList(SiteAction.java:12574) at org.sakaiproject.site.tool.SiteAction.updateSelectedToolList(SiteAction.java:12552) at org.sakaiproject.site.tool.SiteAction.doAdd_features(SiteAction.java:12409) ... 56 more
This error is on the line
String[] contentToolModel=m_ltiService.getContentModel(Long.valueOf(ltiToolId), site.getId());
I'm not sure if site or ltiToolId is null here. (I'd guess site?)
Also after pressing back no tools are selected anymore, and Web Content isn't even in the list of selectable tools in the menu.
See test plan for more details.
Gliffy Diagrams
Zeplin
Attachments
Issue Links
- relates to
-
SAK-32360 LTI instances removed when editing tools through Worksite Setup
-
- RESOLVED
-