Updated getParentForExplorer avoiding to set IsRoot

task_19786
Francesco Mangiacrapa 4 years ago
parent 53c63f8c9e
commit a671575ae7

@ -31,17 +31,17 @@
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<name>com.gwtplugins.gdt.eclipse.core.webAppProjectValidator</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.gwtplugins.gdt.eclipse.core.webAppProjectValidator</name>
<name>com.gwtplugins.gwt.eclipse.core.gwtProjectValidator</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.gwtplugins.gwt.eclipse.core.gwtProjectValidator</name>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>

@ -2,4 +2,5 @@ eclipse.preferences.version=1
encoding//src/main/java=UTF-8
encoding//src/main/resources=UTF-8
encoding//src/test/java=UTF-8
encoding//src/test/resources=UTF-8
encoding/<project>=UTF-8

@ -4,7 +4,6 @@
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
<wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/>
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/test/resources"/>
<property name="context-root" value="workspace-explorer-app"/>
<property name="java-output-path" value="/workspace-explorer-app/target/workspace-explorer-app-0.0.1-SNAPSHOT/WEB-INF/classes"/>
</wb-module>

@ -252,7 +252,7 @@ public class WorkspaceExplorerAppServiceImpl extends RemoteServiceServlet implem
logger.info("\n\n");
List<? extends WorkspaceItem> parents = null;
try{
parents = workspace.getParentsById(itemIdentifier);
parents = workspace.getParentsForExplorerById(itemIdentifier);
}catch(Exception e){
logger.error("Error on getting list of parents from SHUB for id: "+itemIdentifier, e);
parents = new ArrayList<WorkspaceItem>();

Loading…
Cancel
Save