From aa9ba87ef341054ab0d44710def74d3fdacc2618 Mon Sep 17 00:00:00 2001 From: Massimiliano Assante Date: Thu, 30 Jan 2014 16:17:04 +0000 Subject: [PATCH] fixed bug when posting no images git-svn-id: https://svn.research-infrastructures.eu/d4science/gcube/trunk/portlets/user/share-updates@90786 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../portlets/user/shareupdates/client/view/ImageSwitcher.java | 2 +- .../user/shareupdates/server/ShareUpdateServiceImpl.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/gcube/portlets/user/shareupdates/client/view/ImageSwitcher.java b/src/main/java/org/gcube/portlets/user/shareupdates/client/view/ImageSwitcher.java index 08e0704..4ca3131 100644 --- a/src/main/java/org/gcube/portlets/user/shareupdates/client/view/ImageSwitcher.java +++ b/src/main/java/org/gcube/portlets/user/shareupdates/client/view/ImageSwitcher.java @@ -15,7 +15,7 @@ import com.google.gwt.user.client.ui.VerticalPanel; public class ImageSwitcher extends Composite { - public static final String blank_image_url = GWT.getModuleBaseURL() + "../images/white-grad.gif"; + public static final String blank_image_url = GWT.getModuleBaseURL() + "../images/white-grad.png"; private ArrayList imageUrls; private VerticalPanel mainPanel = new VerticalPanel(); diff --git a/src/main/java/org/gcube/portlets/user/shareupdates/server/ShareUpdateServiceImpl.java b/src/main/java/org/gcube/portlets/user/shareupdates/server/ShareUpdateServiceImpl.java index b294f92..9310579 100644 --- a/src/main/java/org/gcube/portlets/user/shareupdates/server/ShareUpdateServiceImpl.java +++ b/src/main/java/org/gcube/portlets/user/shareupdates/server/ShareUpdateServiceImpl.java @@ -133,8 +133,8 @@ public class ShareUpdateServiceImpl extends RemoteServiceServlet implements Shar if (user == null) { _log.warn("USER IS NULL setting test.user and Running OUTSIDE PORTAL"); user = "test.user"; - user = "massimiliano.assante"; - SessionManager.getInstance().getASLSession(sessionID, user).setScope("/gcube/devsec/devVRE"); +// user = "massimiliano.assante"; +// SessionManager.getInstance().getASLSession(sessionID, user).setScope("/gcube/devsec/devVRE"); withinPortal = false; } else {