Managed case of Exception in order to avoid failure on checkItemLocked
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@167120 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
90d1be3a05
commit
7e06739d8c
|
@ -1,8 +1,13 @@
|
|||
<ReleaseNotes>
|
||||
<Changeset component="org.gcube.portlets-user.workspace-portlet-tree.6-20-1"
|
||||
date="2018-04-19">
|
||||
<Change>Managed case of Exception in order to avoid failure on checkItemLocked</Change>
|
||||
</Changeset>
|
||||
<Changeset component="org.gcube.portlets-user.workspace-portlet-tree.6-20-0"
|
||||
date="2018-03-01">
|
||||
<Change>[Task #11127] Porting to new ws-thredds engine</Change>
|
||||
<Change>[Feature #11325] Workspace: add New URL feature in the context menu of right pane</Change>
|
||||
<Change>[Feature #11325] Workspace: add New URL feature in the context
|
||||
menu of right pane</Change>
|
||||
</Changeset>
|
||||
<Changeset component="org.gcube.portlets-user.workspace-portlet-tree.6-19-0"
|
||||
date="2018-01-09">
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -10,7 +10,7 @@
|
|||
|
||||
<groupId>org.gcube.portlets.user</groupId>
|
||||
<artifactId>workspace-tree-widget</artifactId>
|
||||
<version>6.20.0-SNAPSHOT</version>
|
||||
<version>6.20.1-SNAPSHOT</version>
|
||||
<name>gCube Workspace Tree Widget</name>
|
||||
<description>
|
||||
gCube Workspace Tree Widget is a widget to navigate and interact with gCube Workspace
|
||||
|
|
|
@ -4361,6 +4361,10 @@ public class GWTWorkspaceServiceImpl extends RemoteServiceServlet implements GWT
|
|||
}catch(InternalErrorException | ItemNotFoundException | HomeNotFoundException | WorkspaceFolderNotFoundException e){
|
||||
workspaceLogger.warn(e);
|
||||
throw new Exception("Sorry an error occurred during checking is folder locked, Refresh and try again");
|
||||
|
||||
}catch (Exception e) {
|
||||
workspaceLogger.warn("Was there an Exception HL side? Ignoring it.. returning false (that means item not locked)");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue