updated logs
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@141362 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
2cec1d1c25
commit
cabdf54222
2
pom.xml
2
pom.xml
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
<groupId>org.gcube.portlets.user</groupId>
|
<groupId>org.gcube.portlets.user</groupId>
|
||||||
<artifactId>workspace-tree-widget</artifactId>
|
<artifactId>workspace-tree-widget</artifactId>
|
||||||
<version>6.15.0-SNAPSHOT</version>
|
<version>6.15.1-SNAPSHOT</version>
|
||||||
<name>gCube Workspace Tree Widget</name>
|
<name>gCube Workspace Tree Widget</name>
|
||||||
<description>
|
<description>
|
||||||
gCube Workspace Tree Widget is a widget to navigate and interact with gCube Workspace
|
gCube Workspace Tree Widget is a widget to navigate and interact with gCube Workspace
|
||||||
|
|
|
@ -76,7 +76,7 @@ public class DownloadServlet extends HttpServlet{
|
||||||
String contextID = req.getParameter(ConstantsExplorer.CURRENT_CONTEXT_ID);
|
String contextID = req.getParameter(ConstantsExplorer.CURRENT_CONTEXT_ID);
|
||||||
String userID = req.getParameter(ConstantsExplorer.CURRENT_USER_ID);
|
String userID = req.getParameter(ConstantsExplorer.CURRENT_USER_ID);
|
||||||
|
|
||||||
logger.debug("Input Params [id: "+itemId + ", viewContent: "+viewContent+", "+ConstantsExplorer.VALIDATEITEM +": " +isValidItem+", urlRedirectOnError:" +urlRedirectOnError+", contextID: "+contextID+"]");
|
logger.debug("Input Params [id: "+itemId + ", viewContent: "+viewContent+", "+ConstantsExplorer.VALIDATEITEM +": " +isValidItem+", urlRedirectOnError:" +urlRedirectOnError+", contextID: "+contextID+", userID: "+userID+"]");
|
||||||
if(itemId==null || itemId.isEmpty()){
|
if(itemId==null || itemId.isEmpty()){
|
||||||
sendError(resp,HttpServletResponse.SC_INTERNAL_SERVER_ERROR +": Item id is null");
|
sendError(resp,HttpServletResponse.SC_INTERNAL_SERVER_ERROR +": Item id is null");
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -162,7 +162,7 @@ public class WsUtil {
|
||||||
*/
|
*/
|
||||||
public static Workspace getWorkspace(HttpServletRequest httpServletRequest, String contextID, String currUserId) throws InternalErrorException, HomeNotFoundException, WorkspaceFolderNotFoundException
|
public static Workspace getWorkspace(HttpServletRequest httpServletRequest, String contextID, String currUserId) throws InternalErrorException, HomeNotFoundException, WorkspaceFolderNotFoundException
|
||||||
{
|
{
|
||||||
logger.trace("Get Workspace");
|
logger.info("Get workspace using contextID: "+contextID +", currUserId: "+currUserId);
|
||||||
String currentScope = PortalContext.getConfiguration().getCurrentScope(contextID);
|
String currentScope = PortalContext.getConfiguration().getCurrentScope(contextID);
|
||||||
logger.info("For ContextID: "+contextID +", read scope from Portal Context: "+currentScope);
|
logger.info("For ContextID: "+contextID +", read scope from Portal Context: "+currentScope);
|
||||||
PortalContextInfo info = getPortalContext(httpServletRequest, currentScope);
|
PortalContextInfo info = getPortalContext(httpServletRequest, currentScope);
|
||||||
|
|
Loading…
Reference in New Issue