just changed the error message to

"Deleting shared folders is not supported. Please unshare it if your intent is to no longer share its content with your coworkers."


git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@181182 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2019-07-09 12:30:34 +00:00
parent b8754eba24
commit 6d598f3b60
1 changed files with 1 additions and 1 deletions

View File

@ -2382,7 +2382,7 @@ public class GWTWorkspaceServiceImpl extends RemoteServiceServlet implements GWT
StringBuilder error = new StringBuilder();
if(theItem!=null && theItem.isShared()) {
if(theItem.isFolder()) {
error.append("Deleting shared folders is not supported. Please unshare it if you are willing to no longer share its content to your coworkers.");
error.append("Deleting shared folders is not supported. Please unshare it if your intent is to no longer share its content with your coworkers.");
}else {
error.append("Ops! This operation is not allowed, we're working hard to make this possible soon.");
}