Skip to content

Commit

Permalink
avoid the error on backend side
Browse files Browse the repository at this point in the history
  • Loading branch information
teosarca committed Oct 31, 2017
1 parent b0919d6 commit 23a7351
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public List<DocumentPath> getSelectedIncludedDocumentPaths()

private static final List<DocumentPath> createSelectedIncludedDocumentPaths(final WindowId windowId, final String documentIdStr, final JSONSelectedIncludedTab selectedTab)
{
if (selectedTab == null)
if (windowId == null || Check.isEmpty(documentIdStr, true) || selectedTab == null)
{
return ImmutableList.of();
}
Expand Down

0 comments on commit 23a7351

Please sign in to comment.