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
This commit is contained in:
parent
2b5518f847
commit
9b4b942727
|
@ -1,6 +1,7 @@
|
||||||
package org.gcube.portlets.user.gcubeloggedin.server;
|
package org.gcube.portlets.user.gcubeloggedin.server;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
import java.util.Date;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
@ -105,9 +106,9 @@ public class LoggedinServiceImpl extends RemoteServiceServlet implements Loggedi
|
||||||
|
|
||||||
_log.trace("CURRENT ORG SET IN SESSION: " + currSite.getGroupName());
|
_log.trace("CURRENT ORG SET IN SESSION: " + currSite.getGroupName());
|
||||||
|
|
||||||
|
long nowInMillis = new Date().getTime();
|
||||||
String name = currSite.getGroupName();
|
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 = "";
|
String desc = "";
|
||||||
//set the description for the vre
|
//set the description for the vre
|
||||||
if (currSite.getDescription() != null)
|
if (currSite.getDescription() != null)
|
||||||
|
|
Loading…
Reference in New Issue