diff --git a/.classpath b/.classpath
index cbad3c9..bc43adb 100644
--- a/.classpath
+++ b/.classpath
@@ -1,19 +1,27 @@
-
+
-
+
+
+
+
+
-
+
+
+
+
+
@@ -31,5 +39,5 @@
-
+
diff --git a/.project b/.project
index b8d67b9..f69a01a 100644
--- a/.project
+++ b/.project
@@ -55,5 +55,6 @@
org.eclipse.wst.common.project.facet.core.nature
org.eclipse.wst.jsdt.core.jsNature
com.google.gwt.eclipse.core.gwtNature
+ com.liferay.ide.core.liferayNature
diff --git a/distro/changelog.xml b/distro/changelog.xml
index 057973c..0743cd9 100644
--- a/distro/changelog.xml
+++ b/distro/changelog.xml
@@ -1,8 +1,9 @@
-
Fix for Bug #4877 Email Notification sent multiple times
sometimes
+ Logo VRE was not updated in the portlet due to liferay versioning of Document Library
diff --git a/pom.xml b/pom.xml
index 26dcaad..b06703a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -13,7 +13,7 @@
org.gcube.portlets.user
join-vre
war
- 3.0.1-SNAPSHOT
+ 3.0.2-SNAPSHOT
gCube Join VRE Portlet
Display the available VRE to Join
diff --git a/src/main/java/org/gcube/portlets/user/joinvre/server/JoinServiceImpl.java b/src/main/java/org/gcube/portlets/user/joinvre/server/JoinServiceImpl.java
index b3e861e..1b9f621 100644
--- a/src/main/java/org/gcube/portlets/user/joinvre/server/JoinServiceImpl.java
+++ b/src/main/java/org/gcube/portlets/user/joinvre/server/JoinServiceImpl.java
@@ -185,14 +185,13 @@ public class JoinServiceImpl extends RemoteServiceServlet implements JoinService
_log.error("Cannot find root organziation, please check gcube-data.properties file in $CATALINA_HOME/conf folder, unless your installing the Bundle");
return toReturn;
}
- CacheRegistryUtil.clear();
-
+
List currUserGroups = new ArrayList();
if (session.getUsername().compareTo(TEST_USER) != 0) {
GCubeUser currUser = new LiferayUserManager().getUserByUsername(session.getUsername());
currUserGroups = gm.listGroupsByUser(currUser.getUserId());
}
-
+ long nowInMillis = new Date().getTime();
//for each root sub organizations (VO)
for (GCubeGroup vOrg : rootGroupVO.getChildren()) {
for (GCubeGroup vreOrganization : vOrg.getChildren()) {
@@ -201,7 +200,7 @@ public class JoinServiceImpl extends RemoteServiceServlet implements JoinService
String vreDescription = vreOrganization.getDescription();
long logoId = vreOrganization.getLogoId();
- String vreLogoURL = "/image/layout_set_logo?img_id="+ logoId;
+ String vreLogoURL = "/image/layout_set_logo?img_id="+ logoId+"&t="+nowInMillis;;
String groupName = gm.getInfrastructureScope(vreOrganization.getGroupId());
String friendlyURL = GCubePortalConstants.PREFIX_GROUP_URL+vreOrganization.getFriendlyURL();