Skip to content

Commit

Permalink
SAK-46108 Site Import: NPE for Announcement
Browse files Browse the repository at this point in the history
  • Loading branch information
bgarciaentornos authored and Miguel Pellicer committed Aug 26, 2021
1 parent 9d47d05 commit c317bbc
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1964,9 +1964,11 @@ public void transferSynopticOptions(String fromContext, String toContext)
Site toSite = m_siteService.getSite(toContext);
ToolConfiguration toSynTool = toSite.getToolForCommonId("sakai.synoptic." + getLabel());
Properties toSynProp = null;
if (toSynTool != null)
if (toSynTool != null) {
toSynProp = toSynTool.getPlacementConfig();

} else {
return;
}
if (fromSynProp != null && !fromSynProp.isEmpty())
{
Set synPropSet = fromSynProp.keySet();
Expand Down

0 comments on commit c317bbc

Please sign in to comment.