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
This commit is contained in:
Massimiliano Assante 2014-01-30 16:17:04 +00:00
parent d62b408106
commit aa9ba87ef3
2 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@ import com.google.gwt.user.client.ui.VerticalPanel;
public class ImageSwitcher extends Composite { 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<String> imageUrls; private ArrayList<String> imageUrls;
private VerticalPanel mainPanel = new VerticalPanel(); private VerticalPanel mainPanel = new VerticalPanel();

View File

@ -133,8 +133,8 @@ public class ShareUpdateServiceImpl extends RemoteServiceServlet implements Shar
if (user == null) { if (user == null) {
_log.warn("USER IS NULL setting test.user and Running OUTSIDE PORTAL"); _log.warn("USER IS NULL setting test.user and Running OUTSIDE PORTAL");
user = "test.user"; user = "test.user";
user = "massimiliano.assante"; // user = "massimiliano.assante";
SessionManager.getInstance().getASLSession(sessionID, user).setScope("/gcube/devsec/devVRE"); // SessionManager.getInstance().getASLSession(sessionID, user).setScope("/gcube/devsec/devVRE");
withinPortal = false; withinPortal = false;
} }
else { else {