getPath now return absolute path
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-explorer@124694 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
80ff067c51
commit
3fe9d27f31
|
@ -127,9 +127,9 @@ public class ItemBuilder {
|
|||
//TODO A PATCH TO AVOID A SLOW GETPATH
|
||||
// workspaceItemPath = workspaceItem.getPath();
|
||||
for (WorkspaceItem child: workspaceItem.getChildren()){
|
||||
String itemPath = workspaceItemPath;
|
||||
if(child.isFolder())
|
||||
itemPath+="/"+child.getName();
|
||||
String itemPath = workspaceItemPath+"/"+child.getName();
|
||||
// if(child.isFolder())
|
||||
// itemPath+="/"+child.getName();
|
||||
|
||||
// _log.trace("\nConverting child item: "+child.getName());
|
||||
Item itemChild = getItem(item, child, itemPath, showableTypes, filterCriteria, false);
|
||||
|
|
Loading…
Reference in New Issue