git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@81111 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
40ecb5c1f6
commit
1f00c369c5
|
@ -200,7 +200,7 @@ public class UploadServlet extends HttpServlet {
|
||||||
itemName = uploadItem.getName();
|
itemName = uploadItem.getName();
|
||||||
|
|
||||||
String contentType = MimeTypeUtil.getMimeType(new BufferedInputStream(uploadItem.getInputStream()));
|
String contentType = MimeTypeUtil.getMimeType(new BufferedInputStream(uploadItem.getInputStream()));
|
||||||
logger.trace("Content type: "+contentType + " unique name: "+itemName);
|
logger.trace("Content type (mime type): "+contentType + " unique name: "+itemName);
|
||||||
|
|
||||||
// System.out.println("Content type: "+contentType + " unique name: "+itemName);
|
// System.out.println("Content type: "+contentType + " unique name: "+itemName);
|
||||||
|
|
||||||
|
|
|
@ -74,10 +74,10 @@ public class WsUtil {
|
||||||
|
|
||||||
/*USE ANOTHER ACCOUNT (OTHERWHISE BY TEST_USER) FOR RUNNING
|
/*USE ANOTHER ACCOUNT (OTHERWHISE BY TEST_USER) FOR RUNNING
|
||||||
* COMMENT THIS IN DEVELOP ENVIROMENT (UNCOMMENT IN PRODUCTION)*/
|
* COMMENT THIS IN DEVELOP ENVIROMENT (UNCOMMENT IN PRODUCTION)*/
|
||||||
user=TEST_USER;
|
// user=TEST_USER;
|
||||||
|
|
||||||
//UNCOMMENT THIS IN DEVELOP ENVIROMENT
|
//UNCOMMENT THIS IN DEVELOP ENVIROMENT
|
||||||
// user = "francesco.mangiacrapa";
|
user = "francesco.mangiacrapa";
|
||||||
|
|
||||||
defaultLogger.warn("WORKSPACE PORTLET STARTING IN TEST MODE - NO USER FOUND - PORTLETS STARTING WITH FOLLOWING SETTINGS:");
|
defaultLogger.warn("WORKSPACE PORTLET STARTING IN TEST MODE - NO USER FOUND - PORTLETS STARTING WITH FOLLOWING SETTINGS:");
|
||||||
defaultLogger.warn("session id: "+sessionID);
|
defaultLogger.warn("session id: "+sessionID);
|
||||||
|
|
Loading…
Reference in New Issue