Bug Fix: Get Link on empty folder does not show the breadcrumb

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@179409 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2019-05-14 13:52:54 +00:00
parent dc36a61764
commit 6a1fc7cb54
1 changed files with 1 additions and 1 deletions

View File

@ -3740,7 +3740,7 @@ public class GWTWorkspaceServiceImpl extends RemoteServiceServlet implements GWT
org.gcube.common.storagehubwrapper.shared.tohl.WorkspaceItem theItem = workspace.getItem(itemIdentifier);
if(theItem.isFolder()) {
workspaceLogger.trace("The item passed is a folder, including it as last parent as requested");
FolderModel passedFolder = converter.buildGXTFolderModelItemHandleSpecialFolder(theItem, parents.get(parents.size()), nameSpecialFolder);
FolderModel passedFolder = converter.buildGXTFolderModelItemHandleSpecialFolder(theItem, parents.get(parents.size()-1), nameSpecialFolder);
arrayParents.add(passedFolder);
}
}