bug fixed when image of VRE is changed (not &t=$timestamp was predent in the imageURL) caused to retrieve the previous image

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/gcube-loggedin@130444 82a268e6-3cf1-43bd-a215-b396298e98cf
master
Massimiliano Assante 8 years ago
parent 2b5518f847
commit 9b4b942727

@ -1,6 +1,7 @@
package org.gcube.portlets.user.gcubeloggedin.server;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.Set;
@ -105,9 +106,9 @@ public class LoggedinServiceImpl extends RemoteServiceServlet implements Loggedi
_log.trace("CURRENT ORG SET IN SESSION: " + currSite.getGroupName());
long nowInMillis = new Date().getTime();
String name = currSite.getGroupName();
String logoURL = "/image/layout_set_logo?img_id="+currSite.getLogoId();
String logoURL = "/image/layout_set_logo?img_id="+currSite.getLogoId()+"&t="+nowInMillis;
String desc = "";
//set the description for the vre
if (currSite.getDescription() != null)

Loading…
Cancel
Save